Files
ladybird/AK/Time.cpp
Zaggy1024 3844edaaed AK: Avoid overflow in Duration::to_time_units() with fraction near 1
With numerators or denominators approaching NumericLimits<u32>::max(),
we could overflow in the sum of the remainder and the rounding
contribution. Instead, divide them separately and sum them afterward.
2026-04-16 15:08:27 -05:00

31 KiB