Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Dileep Bhandarkar <Dileep_Bhandarkar@ccm.sc.intel.com>
Subject: Re: VAX Floating Point
Date: 1995/09/06	[thread overview]
Message-ID: <42kk0v$ro9@itnews.sc.intel.com> (raw)
In-Reply-To: 42k3ju$bmu@news.ameritel.net

johnson@atc.ameritel.net wrote:
>Hello,
>
>I have some hex patterns which represent 64-bit floating point values on a VAX. What I need is to convert them 
>to 64-bit floats on a Motorola processor (IEEE standard float, 11-bit mantissa). 

There are several factors to look for. First, the VAX formats are laid 
out for 16-bit contiguity. So, you have to swap the 16-bits words around. 
Secondly, VAX G uses an exponent bias of 1024, while IEEE uses 1023. 
Furthermore, VAX fraction is .1fff..., IEEE is 1.ffff...

Might help if you looked at a VAX Architecture Handbook.




      reply	other threads:[~1995-09-06  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-06  4:00 VAX Floating Point johnson
1995-09-06  4:00 ` Dileep Bhandarkar [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox