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 <1211138738.25.0.228446616831.issue2819@psf.upfronthosting.co.za>
In-reply-to
Content
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 msum4.py 
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 test_math_sum4.py script.  That includes all the tests 
from msum4.py and from Raymond's recipe.

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

/Jean Brouwers
History
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: <1211138738.25.0.228446616831.issue2819@psf.upfronthosting.co.za>
2008-05-18 19:25:36MrJean1linkissue2819 messages
2008-05-18 19:25:35MrJean1create