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 MrJean1
Recipients MrJean1, mark.dickinson, rhettinger
Date 2008-05-12.19:16:54
SpamBayes Score 0.017603533
Marked as misclassified No
Message-id <>
The current results are quite "interesting"

>>> math.sum([1e308, 1e308, -1e308])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: math range error

>>> math.sum([1e308, -1e308, 1e308])

Handling this case would require holding the finite, prior sum at an 
intermediate overflow in a separate array, say overflows.  Then, add the 
partials which may create additional overflows.  Finally, keep adding 
the overflows (accurately?) until none remain or until none can be added 
without overflow.

/Jean Brouwers
Date User Action Args
2008-05-12 19:17:02MrJean1setspambayes_score: 0.0176035 -> 0.017603533
recipients: + MrJean1, rhettinger, mark.dickinson
2008-05-12 19:17:01MrJean1setspambayes_score: 0.0176035 -> 0.0176035
messageid: <>
2008-05-12 19:16:57MrJean1linkissue2819 messages
2008-05-12 19:16:55MrJean1create