Apply suggestions from AI code review: typos

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Ed Hennis
2026-06-25 14:25:32 -04:00
committed by GitHub
parent d2c5d95032
commit 6906f47349
2 changed files with 2 additions and 2 deletions

View File

@@ -449,7 +449,7 @@ Number::Guard::pushOverflow(T mantissa)
return;
}
// The second step scales the final digit of the update mantissa proportionally, converting
// The second step scales the final digit of the updated mantissa proportionally, converting
// from (kMaxRep, kMaxRepUp) to (0 to 9]. It then pushes that scaled digit onto the guard as
// if it was a digit that got removed, but doesn't actually remove it. This method should be
// future-proof in case the number of mantissa bits ever changes. (Though for integer values

View File

@@ -1531,7 +1531,7 @@ public:
{
case MantissaRange::MantissaScale::Large330:
// Rounding to nearest, since the mantissa is below the halfway point from
// kMaxRep to kMaxRep up, it will be rounded down to kMaxRep
// kMaxRep to kMaxRepUp, it will be rounded down to kMaxRep
test(
Number{std::numeric_limits<std::int64_t>::max(), 0} + 1,
"9223372036854775807",