[Python-3000] adding gamma and error functions to math module

nirinA raseliarison nirina at mail.blueline.mg
Wed Jul 16 18:04:09 CEST 2008


on Tue, 15 Jul 2008 08:32:02 -0500
Daniel Stutzbach wrote:

> I suggest using the versions from newlib's libm.  They contain
> extensive comments explaining the math and have a generous license,
> e.g.,:
>
> http://sourceware.org/cgi-bin/cvsweb.cgi/~checkout~/src/newlib/libm/math/s_erf.c?rev=1.1.1.1&cvsroot=src

a personnal view here. i'm always perplex when there
are many magic numbers in some code. unless i know how
to compute these numbers.

however, as with the cephes library, no doubt that the
code will be much more robust, efficient and accurate.
but also much more difficult to implement, hundred lines
of code instead of a few lines.


nirinA

--



More information about the Python-3000 mailing list