mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +00:00
LibJS: Drop "integral part of" language
This is an editorial change in the Temporal spec.
See: 6ec1608
This commit is contained in:
parent
cb33320814
commit
9a3014c91a
3 changed files with 6 additions and 6 deletions
|
@ -1007,7 +1007,7 @@ i64 round_number_to_increment(double x, u64 increment, StringView rounding_mode)
|
|||
}
|
||||
// 6. Else if roundingMode is "trunc", then
|
||||
else if (rounding_mode == "trunc"sv) {
|
||||
// a. Let rounded be the integral part of quotient, removing any fractional digits.
|
||||
// a. Let rounded be RoundTowardsZero(quotient).
|
||||
rounded = trunc(quotient);
|
||||
}
|
||||
// 7. Else,
|
||||
|
@ -1056,7 +1056,7 @@ BigInt* round_number_to_increment(GlobalObject& global_object, BigInt const& x,
|
|||
}
|
||||
// 6. Else if roundingMode is "trunc", then
|
||||
else if (rounding_mode == "trunc"sv) {
|
||||
// a. Let rounded be the integral part of quotient, removing any fractional digits.
|
||||
// a. Let rounded be the RoundTowardsZero(quotient).
|
||||
// NOTE: This is a no-op
|
||||
}
|
||||
// 7. Else,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue