AlgorithmsNumerics & probabilityEdit on GitHubEdit history
Neumaier Summation
Kahan–Babuška–Neumaier summation, improved Kahan–Babuška algorithm1974
An improved form of Kahan summation that computes the error relative to the larger of the two operands, so that lost bits are corrected even when the next term is larger than the running sum. Python's built-in sum() uses it for floats since version 3.12.
Origin
A. Neumaier (1974). Rundungsfehleranalyse einiger Verfahren zur Summation endlicher Summen. Zeitschrift für Angewandte Mathematik und Mechanik 54(1).doi:10.1002/zamm.19740540106 — checked against Crossref, 2026-11-08
Lineage
Algorithms 2 · Relations 1
Parent algorithms
Where it came from
Kahan Summation1965
CitationNeumaier analyzed Kahan(–Babuška) compensated summation and improved it to also compensate when a term is larger than the running sum — doi:10.1002/zamm.19740540106
Notable implementations
Paths checked against the GitHub default branch
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…