From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,dce0ffd1799b094b X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-02-09 17:05:52 PST Path: gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!library.ucla.edu!network.ucsd.edu!news.cerf.net!coyote.rain.org!coyote.rain.org!not-for-mail From: wns@coyote.rain.org (William Basden) Newsgroups: comp.sys.dec Subject: Re: VAX D_FLOAT to IEEE conversion Date: 9 Feb 1994 17:05:52 -0800 Organization: Regional Access Information Network Distribution: world Message-ID: <2jc19g$7hn@coyote.rain.org> References: <2j9d35$poe@coyote.rain.org> NNTP-Posting-Host: coyote.rain.org X-Newsreader: TIN [version 1.2 PL0] 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