diff options
author | Linus Groh <mail@linusgroh.de> | 2022-04-29 21:52:30 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-29 21:52:30 +0200 |
commit | 7bf4a785c68625e2b149c687034f438c6d3f64a8 (patch) | |
tree | c72c17ca1ea42c370f4d2db163eeb2e784ffa8bc /Userland/Libraries/LibJS/Runtime/Temporal/AbstractOperations.cpp | |
parent | c57410358a03afe52ecdbf8dda8a85b04b1313f4 (diff) | |
download | serenity-7bf4a785c68625e2b149c687034f438c6d3f64a8.zip |
LibJS: Fix RoundNumberToIncrement spec number
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/AbstractOperations.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Temporal/AbstractOperations.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/AbstractOperations.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/AbstractOperations.cpp index 08c9412164..049af3c7f1 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/AbstractOperations.cpp +++ b/Userland/Libraries/LibJS/Runtime/Temporal/AbstractOperations.cpp @@ -983,7 +983,7 @@ String format_seconds_string_part(u8 second, u16 millisecond, u16 microsecond, u // it uses mathematical values which can be arbitrarily (but not infinitely) large. // Incidentally V8's Temporal implementation does the same :^) -// 13.30 RoundNumberToIncrement ( x, increment, roundingMode ), https://tc39.es/proposal-temporal/#sec-temporal-roundnumbertoincrement +// 13.29 RoundNumberToIncrement ( x, increment, roundingMode ), https://tc39.es/proposal-temporal/#sec-temporal-roundnumbertoincrement i64 round_number_to_increment(double x, u64 increment, StringView rounding_mode) { // 1. Assert: x and increment are mathematical values. |