← Chrome 147 reference

v147 · javascript · covered on mdn

Math.sumPrecise

A static method that sums an iterable of numbers using a compensated summation algorithm, avoiding the floating-point precision loss that accumulates when adding values in a naive loop. TC39 Stage 4 (ECMAScript 2026).

this feature is documented on MDN

MDN: Math.sumPrecise()

MDN has a full reference page including the algorithm details, examples comparing results to a naive loop sum, browser compatibility, and the TC39 proposal link. gendn doesn't duplicate that here.

quick reference

SignatureMath.sumPrecise(iterable)
Returnsnumber — the precisely computed sum
Typical useFinancial totals, physics simulations, statistical aggregates where error accumulation matters
Shipped inChrome 147 (desktop + Android)
StandardECMAScript 2026 (TC39 Stage 4)
ChromeStatus4790090146643968 — Math.sumPrecise
TC39 proposalnicolo-ribaudo / tc39-proposal-math-sum
Source: MDN and chromestatus, May 2026.