[Python-3000] adding gamma and error functions to math module
Raymond Hettinger
python at rcn.com
Tue Jul 15 10:39:19 CEST 2008
----- Original Message -----
From: "Mark Dickinson" <dickinsm at gmail.com>
To: "nirinA raseliarison" <nirina at mail.blueline.mg>; "python-3000" <python-3000 at python.org>
Sent: Tuesday, July 15, 2008 1:27 AM
Subject: Re: [Python-3000] adding gamma and error functions to math module
> On Tue, Jul 15, 2008 at 9:10 AM, nirinA raseliarison
> <nirina at mail.blueline.mg> wrote:
>> gammas and errors functions are available from the C standard
>> library. it would be nice to have them in the math module.
>> or is there any reason not to include them?
. . .
> 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.)
In the meantime, here's a little cheat:
>>> from test.test_random import gamma
>>> gamma(4)
5.9999999999999982
>>> gamma(5)
24.0
>>> gamma(6)
120.00000000000003
>>> gamma(6.1)
142.45194406567856
Raymond
More information about the Python-3000
mailing list