HomeFreeBSD

Fix a bug where printf was erroneously printing a decimal point for

Description

Fix a bug where printf was erroneously printing a decimal point for
%f and sufficiently short %g specifiers where the precision was
explicitly zero, no '#' flag was specified, and the floating point
argument was > 0 and <= 0.5. While at it, add some comments to better
explain the relevant bits of code.

Noticed by: Christoph Kukulies <kuku@physik.rwth-aachen.de>

Details

Provenance
David Schultz <das@FreeBSD.org>Authored on Apr 14 2003, 11:24 AM
Parents
rGbb342a371310: Before attaching device set PCIM_CMD_PORTEN in addition to
Branches
Unknown
Tags
Unknown

Event Timeline