Message70623
| Author |
mark.dickinson |
| Recipients |
MrJean1, mark.dickinson, rhettinger, terry.reedy, tim.peters |
| Date |
2008年08月02日.08:57:12 |
| SpamBayes Score |
0.001904452 |
| Marked as misclassified |
No |
| Message-id |
<1217667434.47.0.770731192577.issue2819@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> Question: I see "math module patch committed, r63542" in May 22. But in
> 3.0b2, there is no math.fsum and math.sum seems to be a wrapper for
> builtin sum. Has this not been forward ported (merged) yet?
I'm pretty sure it *was* merged: math.sum should be the full-precision
summation in both recent betas (2.6b2 and 3.0b2). Try comparing
sum([1e100, 1, -1e100, -1]) and math.sum([1e100, 1, -1e100, -1])---they
should produce -1.0 and 0.0 respectively.
The name change to fsum only happened in the last few days. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年08月02日 08:57:14 | mark.dickinson | set | recipients:
+ mark.dickinson, tim.peters, rhettinger, terry.reedy, MrJean1 |
| 2008年08月02日 08:57:14 | mark.dickinson | set | messageid: <1217667434.47.0.770731192577.issue2819@psf.upfronthosting.co.za> |
| 2008年08月02日 08:57:13 | mark.dickinson | link | issue2819 messages |
| 2008年08月02日 08:57:12 | mark.dickinson | create |
|