diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-12-21 15:22:00 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-12-21 15:22:00 (GMT) |
commit | 12748b003c69765e611a7c1782310f33f806607d (patch) | |
tree | 927cdb616ba9ceccecebd32e22585864af10a76a /Include | |
parent | 08dca0d6daf46eecb758c8765fdb592211122d47 (diff) | |
download | cpython-12748b003c69765e611a7c1782310f33f806607d.zip cpython-12748b003c69765e611a7c1782310f33f806607d.tar.gz cpython-12748b003c69765e611a7c1782310f33f806607d.tar.bz2 |
Issue #7518: Move substitute definitions of C99 math functions from
pymath.c to Modules/_math.c.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pymath.h | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/Include/pymath.h b/Include/pymath.h index dc2c427..e3cf22b 100644 --- a/Include/pymath.h +++ b/Include/pymath.h @@ -8,9 +8,9 @@ Symbols and macros to supply platform-independent interfaces to mathematical functions and constants **************************************************************************/ -/* Python provides implementations for copysign, acosh, asinh, atanh, - * log1p and hypot in Python/pymath.c just in case your math library doesn't - * provide the functions. +/* Python provides implementations for copysign, round and hypot in + * Python/pymath.c just in case your math library doesn't provide the + * functions. * *Note: PC/pyconfig.h defines copysign as _copysign */ @@ -22,22 +22,6 @@ extern double copysign(double, double); extern double round(double); #endif -#ifndef HAVE_ACOSH -extern double acosh(double); -#endif - -#ifndef HAVE_ASINH -extern double asinh(double); -#endif - -#ifndef HAVE_ATANH -extern double atanh(double); -#endif - -#ifndef HAVE_LOG1P -extern double log1p(double); -#endif - #ifndef HAVE_HYPOT extern double hypot(double, double); #endif |