Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: john@iastate.edu (John Hascall)
Subject: Re: DEC Unix 4.0 IEEE floating point on Alpha
Date: 1997/07/26	[thread overview]
Message-ID: <5rbntq$3f6$1@news.iastate.edu> (raw)
In-Reply-To: griffin-2407971002590001@ts-2-61.chatt.voyageronline.net


Jim Griffin <griffin@voyageronline.net> 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



  reply	other threads:[~1997-07-26  4:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-23  4:00 DEC Unix 4.0 IEEE floating point on Alpha James Nau
1997-07-23  4:00 ` Paul DeMone
1997-07-24  4:00   ` Emmanuel Choquet
1997-07-24  4:00 ` Jim Griffin
1997-07-26  4:00   ` John Hascall [this message]
1997-08-05  4:00   ` Eugene Y C Chu
1997-07-24  4:00 ` A.Arnold
1997-07-24  4:00   ` fairfield
1997-07-25  4:00     ` Steve Lionel
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox