Mark Dickinson <dicki...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue3366> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com