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 MrJean1, mark.dickinson, rhettinger, terry.reedy, tim.peters
Date 2008-08-02.08:57:12
SpamBayes Score 0.00190445
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:14mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, rhettinger, terry.reedy, MrJean1
2008-08-02 08:57:14mark.dickinsonsetmessageid: <1217667434.47.0.770731192577.issue2819@psf.upfronthosting.co.za>
2008-08-02 08:57:13mark.dickinsonlinkissue2819 messages
2008-08-02 08:57:12mark.dickinsoncreate