delorie.com/archives/browse.cgi | search |
Could you send this patch to the newlib mailing list? The newlib maintainers have to approve this patch. cgf On Wed, Aug 16, 2000 at 12:31:31PM +0100, Fifer, Eric wrote: > >I discovered this when testing the latest Perl: > > main() > { > printf("%.0f\n", 0.1); > printf("%.0f\n", -0.1); > } > >Produces: > > 0. > -0. > >The trailing dot is the problem. Attached is a suggested >change that seems to fix the problem and not introduce any >others. > >Regards, > >Eric Fifer > -- cgf AT cygnus DOT com Cygnus Solutions, a Red Hat company http://sourceware.cygnus.com/ http://www.redhat.com/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |