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

Daniel Stutzbach daniel at stutzbachenterprises.com
Mon Jul 21 15:46:03 CEST 2008


On Mon, Jul 21, 2008 at 8:16 AM, nirinA raseliarison
<nirina at mail.blueline.mg> wrote:
> Terry Reedy
>> I'm interested also.  Done and done.
>> http://bugs.python.org/issue3366
> patch is submitted. it is tested only on linux-2.6.26
> with gcc-4.3.1.

Thanks for doing this.  In the patch, wouldn't it be good to have a
comment with a pointer to where you got the code from?  That way, in
the unlikely event someone finds a mathematical bug, we can a) check
the upstream code to see if they've fixed it already, or b) send a
patch upstream if they haven't.

Also, the patch doesn't include the extensive comments in the original
code that explain the mathematics.  Including a URL in the patch would
at least allow someone to find those comments.

Thanks again,

-- 
Daniel Stutzbach, Ph.D. President, Stutzbach Enterprises LLC


More information about the Python-3000 mailing list