[Numpy-svn] r5697 - trunk/numpy/core

numpy-svn@scip... numpy-svn@scip...
Mon Aug 25 17:05:10 CDT 2008


Author: cdavid
Date: 2008-08-25 17:05:06 -0500 (Mon, 25 Aug 2008)
New Revision: 5697

Modified:
   trunk/numpy/core/SConscript
   trunk/numpy/core/setup.py
Log:
Detect whether trunc is available or not.


Modified: trunk/numpy/core/SConscript
===================================================================
--- trunk/numpy/core/SConscript	2008-08-25 16:36:27 UTC (rev 5696)
+++ trunk/numpy/core/SConscript	2008-08-25 22:05:06 UTC (rev 5697)
@@ -131,7 +131,7 @@
 #----------------------------------
 # Function to check:
 mfuncs = ('expl', 'expf', 'log1p', 'expm1', 'asinh', 'atanhf', 'atanhl',
-          'isnan', 'isinf', 'rint')
+          'isnan', 'isinf', 'rint', 'trunc')
 
 # Set value to 1 for each defined function (in math lib)
 mfuncs_defined = dict([(f, 0) for f in mfuncs])

Modified: trunk/numpy/core/setup.py
===================================================================
--- trunk/numpy/core/setup.py	2008-08-25 16:36:27 UTC (rev 5696)
+++ trunk/numpy/core/setup.py	2008-08-25 22:05:06 UTC (rev 5697)
@@ -16,6 +16,7 @@
     ('isnan', 'HAVE_ISNAN'),
     ('isinf', 'HAVE_ISINF'),
     ('rint', 'HAVE_RINT'),
+    ('trunc', 'HAVE_TRUNC'),
     ]
 
 def is_npy_no_signal():



More information about the Numpy-svn mailing list