diff options
author | Timothy Flynn <trflynn89@pm.me> | 2022-01-30 10:41:07 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-30 20:05:27 +0000 |
commit | a0253af8c1d5e7374d102800d540a014060c9901 (patch) | |
tree | 58e8deb5e566ab87362f41d7c11669155dd301ea /Userland/DevTools | |
parent | 4ba4e4c777c3eaaaea8ed590f178b9876a1e08a7 (diff) | |
download | serenity-a0253af8c1d5e7374d102800d540a014060c9901.zip |
LibJS: Generalize Intl.NumberFormat to operate on Value types
Intl.NumberFormat is meant to format both Number and BigInt types. To
prepare for formatting BigInt types, this generalizes our NumberFormat
implementation to operate on Value instances rather than doubles. All
arithmetic is moved to static helpers that can now be updated with
BigInt semantics.
Diffstat (limited to 'Userland/DevTools')
0 files changed, 0 insertions, 0 deletions