From: lionel@quark.enet.dec.com (Steve Lionel)
Subject: Re: IEEE floating point conversion needed
Date: 15 Feb 1994 16:04:58 GMT [thread overview]
Message-ID: <2jqrra$s48@jac.zko.dec.com> (raw)
In-Reply-To: 2jq1pk$k89@cruella.ee.pdx.edu
In article <2jq1pk$k89@cruella.ee.pdx.edu>, rkwee@ee.pdx.edu (Roland Kwee)
writes:
|>I can't believe I still haven't found a DEC conversion function in C
|>or Fortran to convert VAX floating point numbers to IEEE format. We
|>need this to transfer binary data files from the VAX to PC and other
|>computers. The Alpha handles both formats, but I haven't found a
|>conversion function here either.
OpenVMS AXP supports the RTL routine CVT$CONVERT_FLOAT which does this
conversion. It is documented in the LIB$ RTL manual. For OpenVMS VAX
it is supported as of V6.1, but the routine is also present if you have
installed DEC Fortran V6.0 (or later) for OpenVMS VAX Systems.
DEC Fortran (on all platforms) can do the conversion automatically during
unformatted input or output when you specify the CONVERT= OPEN keyword.
See the DEC Fortran documentation for further details.
--
Steve Lionel lionel@quark.enet.dec.com or
SDT Languages Group lionel@quark.zko.dec.com
Digital Equipment Corporation
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698 "Free advice is worth every cent"
prev parent reply other threads:[~1994-02-15 16:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-02-15 8:40 IEEE floating point conversion needed Roland Kwee
1994-02-15 16:04 ` Steve Lionel [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