[Numpy-discussion] Dealing with NAN.

Charles R Harris charlesr.harris at gmail.com
Sun Jul 20 17:06:41 EDT 2008


The NAN macro isn't defined on all platforms and we have various workarounds
scattered here and there. Is it reasonable to determine a suitable value of
NAN for the various float types as part of the initial setup and
configuration and have the results appended to one of the include files?
This shouldn't be difficult for the gnu compilers, but might be a hassle for
MSVC and some of the others. It can be hardwired into MSVC if we assume the
Intel architecture.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20080720/5e02e752/attachment.html>


More information about the NumPy-Discussion mailing list