[Numpy-svn] r5785 - branches/clean_math_config/numpy/core

numpy-svn@scip... numpy-svn@scip...
Fri Sep 5 01:49:51 CDT 2008


Author: cdavid
Date: 2008-09-05 01:49:48 -0500 (Fri, 05 Sep 2008)
New Revision: 5785

Modified:
   branches/clean_math_config/numpy/core/setup.py
Log:
Check for isnan and isinf.

Modified: branches/clean_math_config/numpy/core/setup.py
===================================================================
--- branches/clean_math_config/numpy/core/setup.py	2008-09-05 06:47:40 UTC (rev 5784)
+++ branches/clean_math_config/numpy/core/setup.py	2008-09-05 06:49:48 UTC (rev 5785)
@@ -7,10 +7,7 @@
 
 FUNCTIONS_TO_CHECK = [
     ('expl', 'HAVE_LONGDOUBLE_FUNCS'),
-    ('expf', 'HAVE_FLOAT_FUNCS'),
-    ('isnan', 'HAVE_ISNAN'),
-    ('isinf', 'HAVE_ISINF'),
-    ]
+    ('expf', 'HAVE_FLOAT_FUNCS')]
 
 def is_npy_no_signal():
     """Return True if the NPY_NO_SIGNAL symbol must be defined in configuration
@@ -98,6 +95,9 @@
         fns = [f + prec for f in c99_funcs]
         check_funcs(fns)
 
+    # IEEE754 handling
+    check_funcs(["isnan", "isinf"])
+
     # Keep this for compatibility for now
     def check_func_old(func_name):
         return config.check_func(func_name, libraries=mathlibs,



More information about the Numpy-svn mailing list