diff options
Diffstat (limited to 'numpy/core')
| -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(): |
