printf %05f on infinity
Eric Blake
ebb9@byu.net
Thu Apr 19 16:22:00 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Eric Blake on 4/12/2007 8:26 PM:
>
> So printf("%05f",1./0) should result in " inf", not "00inf". OK to apply?
>
> 2007-04-12 Eric Blake <ebb9@byu.net>
>
> * libc/stdio/vfprintf.c (_VFPRINTF_F): Don't zero pad on infinity
> or NaN with %05f.
PING.
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGJ12n84KuGfSFAYARAqRJAJ4r5O5UZFTv+/JL6c4gZB90US5GwgCgtY0m
OedQ0z7gp+dKDyYituLqu6U=
=OOdR
-----END PGP SIGNATURE-----
More information about the Newlib
mailing list