diff options
| author | David Cournapeau <cournape@gmail.com> | 2008-08-25 22:05:06 +0000 |
|---|---|---|
| committer | David Cournapeau <cournape@gmail.com> | 2008-08-25 22:05:06 +0000 |
| commit | 654da295908331c585e1e0845929e2146dcc1e9d (patch) | |
| tree | 43f45f4872a2f38fc70cc0fa03662cac7e0ef72f /numpy | |
| parent | 672fb17e079058aa1e16a0489aee83dd08adb36a (diff) | |
| download | numpy-654da295908331c585e1e0845929e2146dcc1e9d.tar.gz | |
Detect whether trunc is available or not.
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/core/SConscript | 2 | ||||
| -rw-r--r-- | numpy/core/setup.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/SConscript b/numpy/core/SConscript index d950ec99b..99eca9758 100644 --- a/numpy/core/SConscript +++ b/numpy/core/SConscript @@ -131,7 +131,7 @@ numpyconfig_sym.append(('MATHLIB', ','.join(mlib))) #---------------------------------- # 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]) diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 531df6a2e..cd15d793e 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -16,6 +16,7 @@ FUNCTIONS_TO_CHECK = [ ('isnan', 'HAVE_ISNAN'), ('isinf', 'HAVE_ISINF'), ('rint', 'HAVE_RINT'), + ('trunc', 'HAVE_TRUNC'), ] def is_npy_no_signal(): |
