mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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:
parent
ef1992b9fb
commit
664b511c0a
13 changed files with 162 additions and 10 deletions
9
Modules/_math.h
Normal file
9
Modules/_math.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue