Open
Bug 1918708
Opened 11 days ago
Updated 7 days ago
[Meta] Implement the Math.sumPrecise proposal
Categories
(Core :: JavaScript Engine, enhancement, P2)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: dminor, Unassigned, Mentored)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
(Keywords: dev-doc-needed, meta)
Making a separate bug to track the implementation.
Reporter | ||
Updated•11 days ago
|
Reporter | ||
Updated•11 days ago
|
No longer blocks: es-proposals-stage-2
Reporter | ||
Comment 1•11 days ago
|
||
For implementation, I think we should go with the Shewchuk's algorithm (https://github.com/tc39/proposal-math-sum/blob/main/Shewchuk-robust-arithmetic.pdf), it's relatively simple, and used, for example, by Python's implementation of the equivalent functionality. The proposal author has written a polyfill that could be used as the basis for a self-hosted implementation, or converted to C++.
Mentor: dminor
Updated•7 days ago
|
Severity: -- → N/A
Priority: -- → P2
You need to log in
before you can comment on or make changes to this bug.
Description
•