Files
ladybird/AK
Ben Wiederhake 0944f56181 AK: Fix human_readable_size corner cases
In particular: consistent rounding and extreme values.

Before, rounding was something like 'away from 0.999...', which led to
surprising corner cases in which the value was rounded up.

Now, rounding is always 'down'.
This even works for 0xffffffff, and also for 0xffffffffffffffffULL on 64-bit.
2020-08-23 11:24:55 +02:00
..
2020-08-20 16:28:31 +02:00
2020-06-13 12:43:22 +02:00
2020-08-22 20:55:10 +02:00
2020-07-15 20:16:38 +02:00
2020-08-22 20:55:10 +02:00
2020-08-23 01:05:22 +02:00
2020-07-25 12:32:55 +02:00
2020-02-25 14:55:04 +01:00
2020-07-23 23:02:28 +02:00
2020-07-23 23:02:28 +02:00
2020-08-22 20:55:10 +02:00
2020-08-16 16:33:28 +02:00