commit a4b1d485a91a1ba66320d7f7614f36561107cf7d
Author: Matthew Dillon <[email protected]>
Date:   Fri Dec 30 16:07:04 2016 -0800

    libutil - Add HN_FRACTIONAL to humanize_number()
    
    * Add HN_FRACTIONAL to humanize_number().  This is an expanded HN_DECIMAL
      mode.  Up to two additional fractional digits will be displayed if they
      would fit in the buffer.  Fractional digits are not displayed for small
      numbers (less than 1000 or less than 1024 depending on the mode).

Summary of changes:
 lib/libutil/humanize_number.3 |  4 ++++
 lib/libutil/humanize_number.c | 46 +++++++++++++++++++++++++++++++++----------
 lib/libutil/libutil.h         |  1 +
 3 files changed, 41 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a4b1d485a91a1ba66320d7f7614f36561107cf7d


-- 
DragonFly BSD source repository

Reply via email to