cvs commit: src/lib/libc/stdio printf.3
David Schultz
das at FreeBSD.org
Mon Jan 19 00:28:32 PST 2004
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
More information about the cvs-all
mailing list