Message72129
| 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:21 | segfaulthunter | set | recipients:
+ segfaulthunter |
| 2008年08月29日 12:32:20 | segfaulthunter | set | messageid: <1220013140.94.0.0541204512227.issue3724@psf.upfronthosting.co.za> |
| 2008年08月29日 12:32:07 | segfaulthunter | link | issue3724 messages |
| 2008年08月29日 12:32:06 | segfaulthunter | create |
|