Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: wns@coyote.rain.org (William Basden)
Subject: Re: VAX D_FLOAT to IEEE conversion
Date: 9 Feb 1994 17:05:52 -0800	[thread overview]
Message-ID: <2jc19g$7hn@coyote.rain.org> (raw)
In-Reply-To: bellamy-090294160102@test1.commerce.uq.oz.au

David Bellamy (bellamy@commerce.uq.edu.au) wrote:
> > Does anyone have code to convert VAX D_FLOAT numbers into IEEE double 
> > format?  

> Check the convert keyword in the open statement.

This is being used from C, not FORTRAN.  We read the floats into a buffer
(actually a double, since the D_FLOATING and the double IEEE are the same
size), then we need to swap the bits around to get it into a usable form.

Thanks anyway.

Bill Basden





      reply	other threads:[~1994-02-10  1:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-02-09  1:08 VAX D_FLOAT to IEEE conversion William Basden
1994-02-09  6:01 ` David Bellamy
1994-02-10  1:05   ` William Basden [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