git: libutil - Add HN_FRACTIONAL to humanize_number()
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    Fri Dec 30 16:16:29 PST 2016
    
    
  
commit a4b1d485a91a1ba66320d7f7614f36561107cf7d
Author: Matthew Dillon <dillon at apollo.backplane.com>
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
    
    
More information about the Commits
mailing list