[issue3366] Add gamma function, error functions and other C99 math.h functions to math module
Mark Dickinson
report at bugs.python.org
Wed Dec 16 13:43:57 CET 2009
Mark Dickinson <dickinsm at gmail.com> added the comment:
Here's a patch to add expm1. Rather than putting the code in pymath.c,
which is the wrong place (see issue #7518), I've added a new file
Modules/_math.c for this; log1p, atanh, etc. should also eventually be
moved from pymath.c into this file.
I'm fairly confident that the maths and numerics are okay, but less
confident about my changes to the build structure; if anyone has a chance
to test this patch, especially on Windows, I'd welcome feedback. I've
tested it on OS X, and will test on Linux.
----------
Added file: http://bugs.python.org/file15574/expm1.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3366>
_______________________________________
More information about the Python-bugs-list
mailing list