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-18.19:25:05
SpamBayes Score 0.0033624363
Marked as misclassified No
Message-id <>
Attached is the patch for the the mathmodule.c file of Python 2.6a3 
containing the C version of the msum() function from Marks's 
Python implementation.

Please review the C code, in particular the setting of _do_sum_pow_2 for 
FLT_RADIX not equal to 2.

The results of the C and Python versions match (on 32-bit MacOS X 
Intel), using the script.  That includes all the tests 
from and from Raymond's recipe.

More testing and the cmath version are still to be done.

/Jean Brouwers
Date User Action Args
2008-05-18 19:25:40MrJean1setspambayes_score: 0.00336244 -> 0.0033624363
recipients: + MrJean1, rhettinger, mark.dickinson
2008-05-18 19:25:39MrJean1setspambayes_score: 0.00336244 -> 0.00336244
messageid: <>
2008-05-18 19:25:36MrJean1linkissue2819 messages
2008-05-18 19:25:35MrJean1create