1 double _Py_acosh(double x); 2 double _Py_asinh(double x); 3 double _Py_atanh(double x); 4 double _Py_expm1(double x); 5 double _Py_log1p(double x); 6 7 #ifdef HAVE_ACOSH 8 #define m_acosh acosh 9 #else 10 /* if the system doesn't have acosh, use the substitute 11 function defined in Modules/_math.c. */ 12 #define m_acosh _Py_acosh 13 #endif 14 15 #ifdef HAVE_ASINH 16 #define m_asinh asinh 17 #else 18 /* if the system doesn't have asinh, use the substitute 19 function defined in Modules/_math.c. */ 20 #define m_asinh _Py_asinh 21 #endif 22 23 #ifdef HAVE_ATANH 24 #define m_atanh atanh 25 #else 26 /* if the system doesn't have atanh, use the substitute 27 function defined in Modules/_math.c. */ 28 #define m_atanh _Py_atanh 29 #endif 30 31 #ifdef HAVE_EXPM1 32 #define m_expm1 expm1 33 #else 34 /* if the system doesn't have expm1, use the substitute 35 function defined in Modules/_math.c. */ 36 #define m_expm1 _Py_expm1 37 #endif 38 39 /* Use the substitute from _math.c on all platforms: 40 it includes workarounds for buggy handling of zeros. */ 41 #define m_log1p _Py_log1p 42