Bug 1933095 - Import the Xsum library. r=dminor,sylvestre,arai
The xsum library allows fast exact summation of double-precision values using small and large superaccumulators the description of the methods can be found at "Fast Exact Summation Using Small and Large Superaccumulators", by Radford M. Neal, available at https://arxiv.org/abs/1505.05571. This commit imports relevant parts of the code from the xsum lib in order to implement the Math.sumPrecise proposal (https://tc39.es/proposal-math-sum/) Differential Revision: https://phabricator.services.mozilla.com/D230053
This commit is contained in:
@@ -13,6 +13,9 @@ js/src/irregexp/imported/.*
|
||||
# Don't want to reformat zydis (third-party library subject to occasional updates).
|
||||
js/src/zydis/.*
|
||||
|
||||
# Don't want to reformat xsum (third-party code subject to occasional updates).
|
||||
js/src/xsum/.*
|
||||
|
||||
# Generated by js/src/util/make_unicode.py
|
||||
js/src/util/Unicode.cpp
|
||||
js/src/util/UnicodeNonBMP.h
|
||||
|
||||
Reference in New Issue
Block a user