[issue3366] Add gamma function, error functions and other C99 math.h functions to math module
Mark Dickinson
report at bugs.python.org
Sat Oct 17 09:38:48 CEST 2009
Mark Dickinson <dickinsm at gmail.com> added the comment:
BTW, the gamma computation shouldn't be at all fragile, unless I've messed
up somewhere: the Lanczos sum is evaluated as a rational function in
which both numerator and denominator have only positive coefficients, so
there's little danger of nasty cancellations boosting the relative error.
I'd be surprised if use of fma instructions made more than 1 or 2 ulps
difference to the result, but I'll take a look.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3366>
_______________________________________
More information about the Python-bugs-list
mailing list