Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2003 14:11:42 -0800 (PST)
From:      David Schultz <das@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdio floatio.h vfprintf.c
Message-ID:  <200304052211.h35MBglG027473@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
das         2003/04/05 14:11:42 PST

  FreeBSD src repository

  Modified files:
    lib/libc/stdio       floatio.h vfprintf.c 
  Log:
  Rework the floating point code in printf().  Significant changes:
  
  - We used to round long double arguments to double.  Now we print
    them properly.
  
  - Bugs involving '%F', corner cases of '#' and 'g' format
    specifiers, and the '.*' precision specifier have been
    fixed.
  
  - Added support for the "'" specifier to print thousands' grouping
    characters in a locale-dependent manner.
  
  - Implement the __vfprintf() side of hexadecimal floating point
    support.  All that is still needed is a routine to convert the
    mantissa to hex digits one nibble at a time in the style of ultoa().
  
  Reviewed by:    silence on standards@
  
  Revision  Changes    Path
  1.4       +2 -0      src/lib/libc/stdio/floatio.h
  1.54      +189 -151  src/lib/libc/stdio/vfprintf.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304052211.h35MBglG027473>