Endian check for a Mac - help requested
David T. Lewis
lewis at mail.msen.com
Tue Sep 28 22:48:54 UTC 2004
Could somebody with a Mac (big endian machine) please evaluate the following
and let me know what you get? I'm trying to finalize a FloatTest and want to
make sure it's going to work on little endian and big endian boxes.
{ SmalltalkImage current endianness . Float nan at: 1 . Float nan at: 2 }
On a little endian box, I get:
#(#little 4294443008 0)
Thanks,
Dave
More information about the Squeak-dev
mailing list
|