* IEEE floating point conversion needed
@ 1994-02-15 8:40 Roland Kwee
1994-02-15 16:04 ` Steve Lionel
0 siblings, 1 reply; 2+ messages in thread
From: Roland Kwee @ 1994-02-15 8:40 UTC (permalink / raw)
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.
Currently, there is a little discussion on the Net about this issue,
but they talk about writing their own conversion function. I guess,
from the size of the IEEE standard, that that can be tricky, and
would like to try to find a vendor-provided function first.
Is there anybody out there who can help me?
Thanks, Roland
(Please reply to RolandKwee@ACM.org, or rkwee@ee.pdx.edu,
because I might miss your posting)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: IEEE floating point conversion needed
1994-02-15 8:40 IEEE floating point conversion needed Roland Kwee
@ 1994-02-15 16:04 ` Steve Lionel
0 siblings, 0 replies; 2+ messages in thread
From: Steve Lionel @ 1994-02-15 16:04 UTC (permalink / raw)
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"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-02-15 16:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-15 8:40 IEEE floating point conversion needed Roland Kwee
1994-02-15 16:04 ` Steve Lionel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox