Re:How to Correctly Sum Up Numbers
by lifthrasiir on Sunday November 03, 2024 @07:14PM
(#42037229)
Indeed, this approach is known as a superaccumulator [1] and faster overall than the Kahan summation for a large amount of numbers. I don't exactly know the currently accepted threshold but 10,000 numbers should be conservative enough for that.
[1] https://arxiv.org/abs/1505.05571