[issue2819] Full precision summation

Raymond Hettinger report at bugs.python.org
Thu May 15 07:01:04 CEST 2008


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

When you need full precision, the Kahan approach helps but doesn't make 
guarantees and can sometimes hurt (it makes some assumptions about the 
data).  One use case in is computing stats like a mean where many of 
the larger magnitude entries tend to cancel out but only after clipping 
bits off of the lower magnitude components.

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


More information about the Python-bugs-list mailing list