diff options
author | Timothy Flynn <trflynn89@pm.me> | 2022-01-02 12:45:52 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-02 20:07:03 +0100 |
commit | f16f3c46773d2ef38487e57ea840d8177064010e (patch) | |
tree | 786641b96b6916150b21da5be03f0e263ac8f76b /Ports/libksba | |
parent | a3149c11e54ef4a63dea6a2fdbdca4a012abbc38 (diff) | |
download | serenity-f16f3c46773d2ef38487e57ea840d8177064010e.zip |
LibJS: Update ToRawPrecision / ToRawFixed AO spec comments
This is a normative change in the Intl spec:
https://github.com/tc39/ecma402/commit/f0f66cf
There are two main changes here:
1. Converting BigInt/Number objects to mathematical values.
2. A change in how ToRawPrecision computes its exponent and significant
digits.
For (1), we do not yet support BigInt number formatting, thus already
have coerced Number objects to a double. When BigInt is supported, the
number passed into these methods will likely still be a Value, thus can
be coereced then.
For (2), our implementation already returns the expected edge-case
results pointed out on the spec PR.
Diffstat (limited to 'Ports/libksba')
0 files changed, 0 insertions, 0 deletions