Overview
Kahan Summation is a numerical stability method for floating-point summation. It works by tracking lost low-order bits as a compensation term.
Kahan Summation addresses floating-point summation by tracking lost low-order bits as a compensation term.
Compact metadata for implementation and discovery.
Kahan Summation is a numerical stability method for floating-point summation. It works by tracking lost low-order bits as a compensation term.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n log n)
Worst
O(n^2)
Space
O(n)
Show tracking lost low-order bits as a compensation term on a small floating-point summation example.
Kahan Summation operates in O(n log n) time and O(n) space within the Numerical Stability family. Often compared with Euclidean Algorithm and Exponentiation by Squaring.
What each reference supports for this entry.
Reference for floating-point error analysis and compensated summation methods.
Good next jumps from the relationship graph, ranked for useful discovery.
Numerical Methods · Foundation
Kahan Summation and Euclidean Algorithm share a concrete numerical stability mechanism for floating-point summation.
Compare with thisKahan Summation and Euclidean Algorithm share a concrete numerical stability mechanism for floating-point summation.
Kahan Summation and Exponentiation by Squaring share a concrete numerical stability mechanism for floating-point summation.
Kahan Summation and Aitken Delta-Squared Process share a concrete numerical stability mechanism for floating-point summation.