question on wrong result for small numbers from strtod(), strtof()

Howland Craig D (Craig) howland@LGSInnovations.com
Mon Oct 25 18:50:00 GMT 2010


So I fixed one case and broke some others.  I'll think about it some
more, but I probably won't get to it for a few days.
 
It is possible for you to use your double-is-64-bits option on a
permanent basis?  (The strtod code was originally written assuming
64-bit double.  Tracking this down might be very difficult.)

-----Original Message-----
From: Daniel Calcoen [mailto:Daniel.Calcoen@cern.ch] 
Sent: Monday, October 25, 2010 11:58 AM
To: Howland Craig D (Craig); newlib@sourceware.org
Subject: RE: question on wrong result for small numbers from strtod(),
strtof()

I checked twice that the patch was correctly applied, I rebuild newlib
and
run the test

This is not the correct patch, now I have more wrong values [tests
4,5,12,13,14,18,19 and 20]

...



More information about the Newlib mailing list