summaryrefslogtreecommitdiffstats
path: root/lib/libutil/humanize_number.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge NetBSD revision 1.14: humanize_number.c is now 2-clause BSD licensed.delphij2009-06-231-8/+1
| | | | | | | (humanize_number.3 intentionally hold back until I make sure why we didn't merged dehumanize_number(3)). Obtained from: NetBSD
* Merge changes from NetBSD on humanize_number.c, 1.8 -> 1.13antoine2008-03-081-5/+10
| | | | | | | | | | | | | | Significant changes: - rev. 1.11: Use PRId64 instead of a cast to long long and %lld to print an int64_t. - rev. 1.12: Fix a bug that humanize_number() produces "1000" where it should be "1.0G" or "1.0M". The bug reported by Greg Troxel. PR: 118461 PR: 102694 Approved by: rwatson (mentor) Obtained from: NetBSD MFC after: 1 month
* Take the lastest fixes from NetBSD.pjd2004-09-251-63/+51
| | | | Obtained from: NetBSD
* Add humanize_number(3) to libutil for formating numbers into a humanpjd2004-05-241-0/+160
readable form. Obtained from: NetBSD
OpenPOWER on IntegriCloud