Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2007 03:38:36 +0200
From:      Bruno Haible <bruno@clisp.org>
To:        freebsd-standards@FreeBSD.org
Subject:   a bug in printf %f and %a
Message-ID:  <200704060338.36210.bruno@clisp.org>

next in thread | raw e-mail | index | archive | help
Seen in FreeBSD 6.1.

printf "%010f" and printf "%010a", applied to NaN, Inf, or -Inf, pad with
zeroes. Should pad with spaces instead.

[1] http://article.gmane.org/gmane.comp.lib.gnulib.bugs/10051
[2] http://article.gmane.org/gmane.comp.lib.gnulib.bugs/10055




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