[Numpy-discussion] What is the sign of nan?

David Cournapeau david@ar.media.kyoto-u.ac...
Mon Sep 29 22:53:00 CDT 2008


Charles R Harris wrote:
>
> Do any of the MS compilers handle these things correctly?

Don't know. To be 100 % honest, one of the problem for MS compilers is
the /Ox flag (for IEEE-754 rules). This should not be used for numpy,
period (I am sure you could break numpy with gcc and -ffast-math and co;
the difference being gcc by default is compliant by default and
documented properly). Also, MS compiler (even the recent ones) say they
are not C99 compliant, because there is no customer need for it:

http://blogs.msdn.com/vcblog/archive/2007/11/05/iso-c-standard-update.aspx

cheers,

David


More information about the Numpy-discussion mailing list