[issue26114] Rewrite math.erf() and math.erfc() from scratch

Mark Dickinson report at bugs.python.org
Fri Jan 15 03:47:59 EST 2016


Mark Dickinson added the comment:

The comment is unfortunate. The code in Modules/mathmodule.c *was* written from scratch (by me). All I took from Numerical Recipes was the idea of using continued fractions from one part of the domain and a power-series expansion for another part. If you compare the code with the NR code, there's really no similarity beyond that part.

Perhaps just deleting the NR reference is the way to go.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26114>
_______________________________________


More information about the Python-bugs-list mailing list