All-integer version (but it does use an unsigned long long) which fixes
authorManuel Novoa III <mjn3@codepoet.org>
Sat, 30 Jun 2001 07:40:44 +0000 (07:40 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Sat, 30 Jun 2001 07:40:44 +0000 (07:40 -0000)
commitd877d44d127cb58181f8f8886675406fb99cc6aa
tree899a3ea644af7ce0faa19524e7fab91f0d9152fe
parentdb15cb72e2dad0e2dbed77665ac848a49b950038
All-integer version (but it does use an unsigned long long) which fixes
the problems of the previous version (used floating point, overflowed, didn't
round properly).  The comments at the top of the file are worth reading;
especially note 2 concerning "ls -sh".
libbb/human_readable.c