[Numpy-discussion] Can we assume both FPU and ALU to have same endianness for numpy ?

David Cournapeau david@ar.media.kyoto-u.ac...
Tue Mar 10 10:47:33 CDT 2009


    While working on portable macros for NAN, INF and co, I was
wondering why the current version of my code was working
first lines). I then realized that IEEE 754 did not impose an
endianness, contrary to my belief. The macros would fail if the FPU and
the ALU were using a different endianness. Is this still a possibility
on the architectures we want to support ?



More information about the Numpy-discussion mailing list