Date: Mon, 19 Jan 2004 00:28:30 -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 printf.3 Message-ID: <200401190828.i0J8SUsY040770@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
das 2004/01/19 00:28:30 PST
FreeBSD src repository
Modified files:
lib/libc/stdio printf.3
Log:
Bring the *printf(3) documentation up to date with the code:
- Update and improve the documentation for %[aA]
o Like %[eE], %[aA] may round the result if a precision is specified.
o Grammar police: Fix a split infinitive.
o The FreeBSD implementation does better than the minimum required
by C99 (literal translation of the mantissa). The digit before
the hexadecimal-point is never 0 unless the number itself is 0.
o Clarify that the exponent field represents a decimal exponent of 2.
o Discuss the fact that multiple valid representations are possible.
o Remove the entry in the BUGS section claiming that %[aA] is not
implemented.
- Remove the entry in the BUGS section claiming that the ' flag for
printing thousands separators is unimplemented for floating-point.
- Remove the entry in the BUGS section claiming that the L modifier
reduces the precision to "double" before conversion.
Revision Changes Path
1.56 +24 -37 src/lib/libc/stdio/printf.3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401190828.i0J8SUsY040770>
