diff options
Diffstat (limited to 'Modules/_math.h')
-rw-r--r-- | Modules/_math.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Modules/_math.h b/Modules/_math.h new file mode 100644 index 0000000..69c96b5 --- /dev/null +++ b/Modules/_math.h @@ -0,0 +1,9 @@ +double _Py_expm1(double x); + +#ifdef HAVE_EXPM1 +#define m_expm1 expm1 +#else +/* if the system doesn't have expm1, use the substitute + function defined in Modules/_math.c. */ +#define m_expm1 _Py_expm1 +#endif |