Merged revisions 76861 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76861 | mark.dickinson | 2009-12-16 20:13:40 +0000 (Wed, 16 Dec 2009) | 3 lines

  Issue #3366: Add expm1 function to math module.  Thanks Eric Smith for
  testing on Windows.
........
This commit is contained in:
Mark Dickinson 2009-12-16 20:23:42 +00:00
parent ef1992b9fb
commit 664b511c0a
13 changed files with 162 additions and 10 deletions

9
Modules/_math.h Normal file
View file

@ -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