diff options
author | David Cournapeau <cournape@gmail.com> | 2009-11-04 07:50:41 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-11-04 07:50:41 +0000 |
commit | a04e1ed7373071ad4550720875af8cd1006bb399 (patch) | |
tree | a7cd5d12e7c88e81547cba793df2cbf5809c5e88 /numpy/core/setup_common.py | |
parent | 74bca4fa9262d365eda8f59932c0d5bc86582f4b (diff) | |
download | numpy-a04e1ed7373071ad4550720875af8cd1006bb399.tar.gz |
Start complex support for npymath.
Detect if C99 complex support is available, and check for a few basic
complex functions availability.
Diffstat (limited to 'numpy/core/setup_common.py')
-rw-r--r-- | numpy/core/setup_common.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py index 19fc5125c..2eaf48657 100644 --- a/numpy/core/setup_common.py +++ b/numpy/core/setup_common.py @@ -105,5 +105,7 @@ C99_FUNCS = ["sin", "cos", "tan", "sinh", "cosh", "tanh", "fabs", "floor", C99_FUNCS_SINGLE = [f + 'f' for f in C99_FUNCS] C99_FUNCS_EXTENDED = [f + 'l' for f in C99_FUNCS] +C99_COMPLEX_FUNCS = ['creal', 'cimag', 'cabs'] + def fname2def(name): return "HAVE_%s" % name.upper() |