If the list is known in advance, what about a strategy of sorting the items by absolute value and then summing from smallest to largest?
Would this improve accuracy? If so, by how much?
Would this improve accuracy? If so, by how much?
Something like the msum of [1] is needed to get a (provably[2]) exact summation.
[1]: http://code.activestate.com/recipes/393090-binary-floating-p... [2]: http://www-2.cs.cmu.edu/afs/cs/project/quake/public/papers/r...