Endian check for a Mac - help requested

David T. Lewis lewis at mail.msen.com
Wed Sep 29 00:43:46 UTC 2004


> 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




More information about the Squeak-dev mailing list