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 segfaulthunter
Recipients segfaulthunter
Date 2008-08-29.12:32:06
SpamBayes Score 5.487871e-07
Marked as misclassified No
Message-id <1220013140.94.0.0541204512227.issue3724@psf.upfronthosting.co.za>
In-reply-to
Content
I have found out that the result of math.log(x, 10) is slightly more
inaccurate than the one of math.log10(x). Probably the best example is
math.log(1000, 10) and math.log10(1000). I have attached a patch that
forces math.log to internally use log10 when it gets the base 10. Patch
is against revision 66056. Also adds 3 tests to test_math.py to test new
behaviour implemented.
History
Date User Action Args
2008-08-29 12:32:21segfaulthuntersetrecipients: + segfaulthunter
2008-08-29 12:32:20segfaulthuntersetmessageid: <1220013140.94.0.0541204512227.issue3724@psf.upfronthosting.co.za>
2008-08-29 12:32:07segfaulthunterlinkissue3724 messages
2008-08-29 12:32:06segfaulthuntercreate