aboutsummaryrefslogtreecommitdiff
path: root/tests/test_human_readable.test
AgeCommit message (Collapse)Author
2015-09-03Make human_readable() handle base 1024 units without floating point.Rob Landley
Rounds correctly via brute force, displayed digits are decimal even when working with powers of 2, shows at most 3 significant (decimal) digits. (So no "1023M" nonsense, that's 1.0G.)