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 -- _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com