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
On Sep 29, 2004, at 12:48 AM, David T. Lewis wrote:
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)
I get:
#(#big 2146959360 0)
Avi
On Sep 29, 2004, at 12:48 AM, David T. Lewis wrote:
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)
On Wed, Sep 29, 2004 at 12:53:45AM +0200, Avi Bryant wrote: On Tue, Sep 28, 2004 at 04:57:29PM -0600, Brian Murphy-Dye wrote:
#(#big 2146959360 0)
Brian, Avi: Thank you!
Dave
squeak-dev@lists.squeakfoundation.org