This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients brett.cannon, christian.heimes, mark.dickinson, serhiy.storchaka
Date 2017-03-11.20:47:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
So the GitHub branch fails on my OS X 10.10 machine: there are a number of test failures for gamma and lgamma (but none for erf and erfc).

Some of the gamma and lgamma test failures are accuracy issues; some are more likely to do with errno handling: OS X probably isn't setting errno appropriate on domain or range errors, so any implementation using the libm lgamma/tgamma would need to add code for error handling.

Given this, I'd prefer to leave lgamma and gamma as-is, using their current implementations, at least on OS X; I don't regard the accuracy loss in using the libm functions to be within acceptable limits.

There may still be a case for using the libm versions of erf and erfc.
Date User Action Args
2017-03-11 20:47:25mark.dickinsonsetrecipients: + mark.dickinson, brett.cannon, christian.heimes, serhiy.storchaka
2017-03-11 20:47:25mark.dickinsonsetmessageid: <>
2017-03-11 20:47:25mark.dickinsonlinkissue26121 messages
2017-03-11 20:47:25mark.dickinsoncreate