blob: c0ceece662600990ffd5a520efbb8f3c80efecce [file] [log] [blame]
Mark Dickinsonf3718592009-12-21 15:27:41 +00001double _Py_acosh(double x);
2double _Py_asinh(double x);
3double _Py_atanh(double x);
Mark Dickinson664b5112009-12-16 20:23:42 +00004double _Py_expm1(double x);
Mark Dickinsonf3718592009-12-21 15:27:41 +00005double _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
Mark Dickinson664b5112009-12-16 20:23:42 +000030
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
Mark Dickinsonf3718592009-12-21 15:27:41 +000038
39#ifdef HAVE_LOG1P
40#define m_log1p log1p
41#else
42/* if the system doesn't have log1p, use the substitute
43 function defined in Modules/_math.c. */
44#define m_log1p _Py_log1p
45#endif