Commit Graph

9 Commits

Author SHA1 Message Date
David Schultz
50dad48bb7 Merge gdtoa-20110304. 2011-03-12 07:03:06 +00:00
David Schultz
4848dd0858 Vendor import of gdtoa 20081205. 2009-01-28 04:36:34 +00:00
David Schultz
ae2cbf4c64 Merge gdtoa 20080831. This fixes several bugs, including an infinite
loop pointed out by cognet@ that occurs when calling strtod() with a
string representing a number between DBL_MAX and 2*DBL_MAX, when the
rounding mode is anything other than the default.
2008-09-03 07:23:57 +00:00
David Schultz
1d35705154 Flatten vendor/gdtoa/*. 2008-09-03 05:17:02 +00:00
David Schultz
c713eaa603 Bring in the vendor's fix for a bug in strtod() whereby
strtod("0xyz", &endp) resulted in endp pointing to "0xyz"
instead of "xyz".

Reported by:	Tony Finch <dot@dotat.at>
MFC after:	1 week
2008-06-21 19:27:54 +00:00
David Schultz
c88250a57d Import of the latest gdtoa sources, which include fixes for minor
problems relating to NaNs and rounding.
2007-01-03 04:58:54 +00:00
David Schultz
19927830ac Import gdtoa 20040118. This revision addresses some corner cases in
denormal and locale handling in strtod().
2004-01-19 05:14:12 +00:00
David Schultz
8f7c2af436 Import new sources. The only material change in this update is to
add locale support for hexadecimal floating point conversions.

Noticed by:	ache
Reviewed by:	mike (mentor)
2003-03-25 17:55:07 +00:00
David Schultz
cc36ccd13b Initial import of David Gay's gdtoa library for conversion between
strings and floating point.
2003-03-12 20:18:32 +00:00