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

nirinA raseliarison nirina at mail.blueline.mg
Wed Jul 16 18:03:26 CEST 2008


on Tue, 15 Jul 2008 09:27:39 +0100
Mark Dickinson wrote:

> Writing explicit code for these functions, for platforms
> whose libm doesn't support them, would be a fairly major task.
> Stealing code (in an appropriately legal fashion) from somewhere
> else might work.

> In any case, if you're interested in getting these in to 2.7/3.1
> (it's too late for 2.6/3.0) then I'd suggest opening a feature
> request at bugs.python.org.  (And assign it to me, if you like.)

my initial motivation is to make these functions accessible,
with just a few lines of additionnal code. that's so simple
with a linux box!

but now that a feature request is open - thanks Terry! -
it's interesting to have more accurate functions available.
so far, the most accurate code i found for the gamma
function is from the cephes library, used by the scipy package.

is there some other place to check?
do you know some nice code to see?
any link?

thanks,

nirinA

--



More information about the Python-3000 mailing list