comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Routine for converting 80x87 doubles to XDR (IEEE) format?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Routine for converting 80x87 doubles to XDR (IEEE) format? [message #1175] Tue, 06 July 1993 14:26
ryba is currently offline  ryba
Messages: 33
Registered: October 1992
Member
I'd like to read in some data dumped from a PC that includes some
8-byte reals. BYTEORDER only does byte swaps for shorts (2 bytes) and
longs (4 bytes). If I recall, the 80x87 uses IEEE format, but with the
"little endian" format of the Intel chip. Is that correct? If so, I just
need an extended byte-order to do an 8-byte swap. If not, a canned routine
to do the conversion would be nice.

--
Dr. Marty Ryba | Generation X:
MIT Lincoln Laboratory | Too young to be cynical,
ryba@ll.mit.edu | too old to be optimistic.
Of course nothing I say here is official policy!!!!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL/PV-WAVE strengths/weaknesses
Next Topic: Re: Plotting Velocity Vectors- Help Required

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:29:39 PDT 2025

Total time taken to generate the page: 0.00569 seconds