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 #2749 is a reply to message #2659] Fri, 26 August 1994 07:44 Go to previous messageGo to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
grunes@imsy1.nrl.navy.mil (Mitchell R Grunes) writes:

> 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.

I've often seen the byte order with the most significant byte first, i.e.
that use on most Unix workstations, referred to as the "network" byte order.
Most interchange formats, such as FITS, which are meant to be transportable
from machine to machine, use that byte order.

> 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?

If both machines follow the IEEE standard, then both should recognize the same
NaN values. However, many bit patterns can represent NaN. Perhaps the two
machines use a different *default* NaN value.

Bill Thompson
[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 10:11:21 PDT 2025

Total time taken to generate the page: 0.48326 seconds