[issue2819] Full precision summation

Jean Brouwers report at bugs.python.org
Mon May 19 03:22:11 CEST 2008


Jean Brouwers <MrJean1 at Gmail.com> added the comment:

The tests of the test_math_sum4.py script all pass with the latest math- 
and cmathmodule.c files for 4 different builds of Python 2.6a3:

- GNU gcc 4.0.1 on MacOS X 10.4.11 (Intel Core Duo), 32-bit
- GNU gcc 4.1.2 on RHEL 3 update 7 (Opteron), 64-bit
- Sun C 5.8 on Solaris 10 (Opteron), both 32- and 64-bit

Also interesting might be that the tests run 25+ times faster with the C 
math.sum compared to the Python implementation of msum().
 
/Jean Brouwers

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2819>
__________________________________


More information about the Python-bugs-list mailing list