Victor Stinner
bf9655854b
Issue #28256: Cleanup _math.c
...
Only define fallback implementations when needed. It avoids producing deadcode
when the system provides required math functions.
2016-10-18 16:29:27 +02:00
Georg Brandl
e48ec212e8
Fix typo.
2014-10-28 22:24:46 +01:00
Benjamin Peterson
c77e7a4f23
only define zero constant when it is used
2014-03-15 11:50:00 -05:00
Mark Dickinson
05d79e9abf
Issue #15477: Add workaround for log1p(-0.0) on platforms where it's broken.
2012-08-18 12:24:30 +01:00
Mark Dickinson
6f493b7bac
Indentation and PEP 7 fixes.
2010-07-06 15:00:40 +00:00
Mark Dickinson
6c3bcb74b2
Post-detabification cleanup.
2010-07-05 20:14:26 +00:00
Antoine Pitrou
f95a1b3c53
Recorded merge of revisions 81029 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines
Untabify C files. Will watch buildbots.
........
2010-05-09 15:52:27 +00:00
Mark Dickinson
82ebc1fde7
Merged revisions 76982 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76982 | mark.dickinson | 2009-12-21 15:40:33 +0000 (Mon, 21 Dec 2009) | 2 lines
Inverse hyperbolic trigonometric functions should call m_log1p, not log1p.
........
2009-12-21 15:42:00 +00:00
Mark Dickinson
f371859a4f
Merged revisions 76978 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76978 | mark.dickinson | 2009-12-21 15:22:00 +0000 (Mon, 21 Dec 2009) | 3 lines
Issue #7518: Move substitute definitions of C99 math functions from
pymath.c to Modules/_math.c.
........
2009-12-21 15:27:41 +00:00
Mark Dickinson
664b511c0a
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.
........
2009-12-16 20:23:42 +00:00