This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: printf %05f on infinity
- From: Eric Blake <ebb9 at byu dot net>
- Cc: newlib at sources dot redhat dot com
- Date: Thu, 19 Apr 2007 06:16:39 -0600
- Subject: Re: printf %05f on infinity
- References: <461EEA3D.6090005@byu.net>
-----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-----