Kahan Summation

Shared Foundations · Numerics · 1965 · kahan-summation.yaml

Carries a running compensation for the low-order bits lost in each addition, making the error of a long sum independent of its length.

Colour is the family; a dashed line is the second member of it.

Drag to pan · scroll to zoom · click a node to open it
G catastrophic-cancellation Catastrophic Cancellation kahan-summation Kahan Summation kahan-summation->catastrophic-cancellation recovers the low-order bits each addition throws away

This node

References