Hi Dave!

On 6 Sep., 22:29, "Dr. David Kirkby" <david.kir...@onetel.net> wrote:
> > Is the endianness really different on sage.math and t2.math?
>
> Yes. x86 are little endian. SPARC is big endian.

Cool! Now I am really proud that my code mostly works on t2.

> I can try the code if you want on my OpenSolaris system. That uses an Intel 
> Xeon
> processor, so is little endian.

Frank Lübeck suggested to use this little example in GAP:
    Reset(GlobalMersenneTwister);; List([1..10],i->Random(1,100000));

The resulting sequence seems to depend on endianness.

> > But endianness strikes back in an unexpected way...
>
> I used to work on a 24-bit machine. Either the most (or least), my memory 
> fails
> me, was in the middle!

Interesting design concept...

Best regards,,
Simon

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to