summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-03-11 07:44:24 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-03-11 07:44:24 +0000
commit9c3f0da3baf1ad67e54cf2e6b48f7c500bb8fafb (patch)
tree9df8043344295dd62b97d17c0873232c987692ba
parent43399b799cb80922b1a57acae7e44318a600e178 (diff)
downloadnumpy-9c3f0da3baf1ad67e54cf2e6b48f7c500bb8fafb.tar.gz
Mention NPY_NAN and co in the release notes.
-rw-r--r--doc/release/1.3.0-notes.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/release/1.3.0-notes.rst b/doc/release/1.3.0-notes.rst
index 05a9c4135..b65adac58 100644
--- a/doc/release/1.3.0-notes.rst
+++ b/doc/release/1.3.0-notes.rst
@@ -195,6 +195,19 @@ prefix (npy_cos vs cos).
The core library will be made available to any extension in 1.4.0.
+Portable NAN, INFINITY, etc...
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+npy_math.h now makes available several portable macro to get NAN, INFINITY:
+
+ * NPY_NAN: equivalent to NAN, which is a GNU extension
+ * NPY_INFINITY: equivalent to C99 INFINITY
+ * NPY_PZERO, NPY_NZERO: positive and negative zero respectively
+
+Corresponding single and extended precision macros are available as well. All
+references to NAN, or home-grown computation of NAN on the fly have been
+removed for consistency.
+
CPU arch detection
~~~~~~~~~~~~~~~~~~