IEEE Double and Platform Endianess

Raab, Andreas Andreas.Raab at disney.com
Mon May 29 05:32:35 UTC 2000


> Will the following code work on big AND little endian machines ?

Given that it's correct, yes ;-)

> In other words, does a Float within Squeak follow the endianness (sp?)
> of the platform, or is it the same for all platforms. 

Floats are always stored in the same order. How else could the 32<->64bit
conversion work without taking endianness into account?!

> If it difers by platform, is their a way to find out 
> what the endianess of the current vm is ?

	Smalltalk endianness.

  - A.





More information about the Squeak-dev mailing list