From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,353213c6ba11774a X-Google-Attributes: gid1164f8,public From: john@iastate.edu (John Hascall) Subject: Re: DEC Unix 4.0 IEEE floating point on Alpha Date: 1997/07/26 Message-ID: <5rbntq$3f6$1@news.iastate.edu>#1/1 X-Deja-AN: 258953955 References: <5r5qt6$gd8@crcnis3.unl.edu> Organization: Iowa State University, Ames, Iowa USA Newsgroups: comp.sys.dec Jim Griffin wrote: }> DEC alphas. It happens under both VMS and Digital Unix. It }> appears to me that Alphas store IEEE floating point numbers }> backwards. On an Alpha, for value 511.0, I get: }> 00 80 FF 43 }> while on every other Unix workstation I've been able to get my fingers }> on yields: }> 43 FF 80 00 }> which all the tools and info I find say this is 511.0 in IEEE format. }It's not the wrong order. DECs are little-endian machines, whereas most }other Unix workstations, PCs and Macs are big-endian. Little-endian }machines store data into memory in a different order than big-endian }machines. No, PCs are little-endian too. John -- John Hascall, Software Engr. Shut up, be happy. The conveniences you ISU Computation Center demanded are now mandatory. -Jello Biafra mailto:john@iastate.edu http://www.cc.iastate.edu/staff/systems/john/welcome.html <-- the usual crud