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

Home » Public Forums » archive » converting ieee-float-format to pw-wave-float-format
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: converting ieee-float-format to pw-wave-float-format [message #2659 is a reply to message #2655] Thu, 25 August 1994 12:39 Go to previous messageGo to previous message
grunes is currently offline  grunes
Messages: 68
Registered: September 1993
Member
In article <33ien2$17v@ncar.ucar.edu> caron@acd.ucar.edu (John Caron) writes:
> The nice thing about ieee is that its the same across all machines (is that
> true for its byte order also?).

No. IEEE does not define byte order--at least it is in oposite order
on PCs from the most common useage on most Unix Workstations (Suns,
SGIs,... -- but watch out for Dec Alpha, which someone told me use
backwards (least significant byte first, like the PC) byte order.

The easiest translation method is to read the data on someone's Sun,
print it out formatted, and send it as text!

One thing puzzles me: Most floating point numbers translate between
Suns and PCs simply throught BYTEORDER. But NAN values seem to
behave differently. Does anyone know why?
Mitchell R Grunes (grunes@imsy1.nrl.navy.mil)
Allied-Signal Technical Services
c/o Code 7230 Naval Research Lab
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL vs PV-WAVE
Next Topic: ERDAS format conversion

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

Current Time: Sat Oct 11 14:03:36 PDT 2025

Total time taken to generate the page: 1.03846 seconds