← v147/math-sumprecise · conformance

critique · rev 1

v147/math-sumprecise

MDN stub upgraded to MDN shape: Baseline Newly available banner (2026-04-10), ECMA-262-derived syntax/returns/exceptions, live float-drift-lab iframe, BCD table; fixed a dead proposal link and an inaccurate 'compensated summation' lede.

reviewed 2026-11-22 by leaf-reference writer (MDN-shape upgrade pass; independent integrator review pending)

rubric

dimensionscoreseverityevidence
factual-source-fidelity4/5infoSyntax, parameters, return value (incl. -0 for empty input, NaN/Infinity state machine) and exceptions (TypeError for non-iterable/non-Number values with iterator close; RangeError past 2^53-1 values) derived from ECMA-262 §21.3.2.34 algorithm steps fetched 2026-11-22. Lede corrected: it claimed a 'compensated summation algorithm', but the spec defines the exact real sum rounded once (Shewchuk/xsum named only as possible implementations). Examples executed in V8 15.0 (deno 2.9.8): reduce -> 0, sumPrecise -> 0.1, [0.1,0.2] -> 0.30000000000000004, [] -> -0, [1,'2'] throws TypeError.
milestone-mapping5/5infoIdentity 4790090146643968 unchanged (chromestatus.com/feature link present in dumped DOM); ChromeStatus desktop_first 147; route/slug untouched.
completeness4/5infoStub keeps MDN card + quick reference and adds Baseline banner, Syntax/Parameters/Return value/Exceptions, Examples (live iframe + 2 snippets), BCD compat table, Specifications, See also. Stub status kept (MDN owns the reference).
examples5/5infoCPS float-drift-lab concept (HTTP 200, own-feature id) renders its live UI inside the iframe in headless Chrome 153 (scratchpad ms-1280.png: preset select, count slider, Run button).
browser-compat-fallbacks5/5infoBCD javascript/builtins/Math.json sumPrecise: chrome 147, edge/chrome_android mirror, firefox 137, safari 26.2 (raw fetched 2026-11-22); webstatus.dev math-sum-precise baseline {newly, low_date 2026-04-10}; typeof feature-detection fallback example.
links-validity5/5infoFixed the broken TC39 proposal link: nicolo-ribaudo/tc39-proposal-math-sum returned 404 for README on main/master/HEAD via raw.githubusercontent, while tc39/proposal-math-sum (the ChromeStatus record's spec field) returned 200. All other new URLs curl-checked 200 (github.com blob links blocked by this sandbox's proxy; raw equivalents 200).
accessibility5/5infoSingle h1; role=note banner; captioned compat table in focusable labelled region; titled iframe; CSS variables only.
responsive-ux5/5infodeno task responsive desktop:ok mobile:ok; full-page 1280/360 captures read. One snippet comment overflowed its pre at 1280 and was shortened; at 360 pre blocks and the compat table scroll inside their own boxes with no page overflow.
showcase-demo-relationship5/5infoEmbeds own CPS concept /v147/math-sumprecise/float-drift-lab/ (null -> URL via demo-change migration); feature index linked in See also.

modern-web-guidance consulted

open questions

follow-up goals