ladybird/Userland/Libraries/LibJS/Tests/builtins/Number
Jelle Raaijmakers c58193bafa LibJS: Support large number of decimals in Number.prototype.toFixed
The spec asks us to perform some calculations that quickly exceed an
`u64`, but instead of jumping through hoops we can rely on our AK
implementation of floating point formatting to come up with the
correctly rounded result.

Note that most other JS engines seem to diverge from the spec as well
and fall back to a generic dtoa path.
2023-10-18 19:39:30 -04:00
..
Number-constants.js
Number.isFinite.js
Number.isInteger.js
Number.isNaN.js
Number.isSafeInteger.js
Number.js
Number.parseFloat.js
Number.parseInt.js
Number.prototype.js
Number.prototype.toExponential.js
Number.prototype.toFixed.js LibJS: Support large number of decimals in Number.prototype.toFixed 2023-10-18 19:39:30 -04:00
Number.prototype.toLocaleString.js
Number.prototype.toPrecision.js
Number.prototype.toString.js
Number.prototype.valueOf.js