Re:The Fundamental Axiom of Floating Point Arithmetic
by lifthrasiir on Wednesday August 05, 2020 @03:01AM
(#24058022)
Kahan summation is unfortunately slower than naive summation, which can be problematic. Pairwise summation [1], which roundoff error is proportional to log n, can be used as a drop-in replacement of naive summation as it performs more or less equally.
[1] https://en.wikipedia.org/wiki/Pairwise_summation