4 ms·
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 cur
by lifthrasiir 2y ago
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 https://arxiv.org/abs/1505.05571