[PATCH] Fix strtod for small DBL_DIG
Corinna Vinschen
vinschen@redhat.com
Mon May 16 13:27:00 GMT 2011
On May 16 08:59, Steven Abner wrote:
> On May 16, 2011, at 8:33 AM, Corinna Vinschen wrote:
> > Thanks for the testcase. However, I can still not reproduce the
> > problem. I tried again with float and strtof on Cygwin, but
> > regardless of running it with or without your patch, it results
> > in printing
> >
> > 12.3456789 12.3456789
> > [...]
> A little off topic, but Corinna found bug in printf
> default precision print out should be 6 digits...
> but using two different source codes, I get using floats as
> Corinna 12.345679 12.345679
> could it be a printf problem instead?
> i386 also
Sorry, I copy/pasted the numbers from the wrong source. Actually what
I see is the correct
12.345679 12.345679
as well.
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat
More information about the Newlib
mailing list