Debian Codegraph @

js/src/xsum/README.md

raw
1 # Xsum library
2
3 The xsum library is imported from https://gitlab.com/radfordneal/xsum manually
4 the directory contains a reduced version of the xsum library as required for
5 the implementation of the
6 [Math.sumPrecise proposal](https://tc39.es/proposal-math-sum/#sec-math.sumprecise)
7 since the library isn't expected to have frequent updates, the manual vendoring
8 process was followed. In addition to importing select code a few modifications
9 were made to the code:
10
11 - The files were updated from .c files (as found in the original repository)
12 to c++ files, .cpp.
13 - The code was updated to not use C specific syntax specifically the orginal
14 code extensively used the ["restrict type qualifier"](https://en.cppreference.com/w/c/language/restrict)
15 whose usage has been removed to comply with C++ syntax.