[issue2819] Full precision summation
Mark Dickinson
report at bugs.python.org
Tue Jun 3 03:20:03 CEST 2008
Mark Dickinson <dickinsm at gmail.com> added the comment:
Here's a patch that fixes the problems with math.sum on x86 machines that
aren't using SSE2.
On these machines, the patched version of math.sum does almost the entire
calculation using long doubles instead of doubles. Then in the final
summation, the top long double is split into a double and a residue long
double.
Added file: http://bugs.python.org/file10505/mathsum_IA32.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2819>
_______________________________________
More information about the Python-bugs-list
mailing list