about summary refs log tree commit diff
path: root/src/stdlib/strtof.c
Commit message (Collapse)AuthorAgeFilesLines
* unify strtof/strtod/strtold wrappers and fix initial whitespace issueRich Felker2012-04-101-15/+0
|
* new floating point parser/converterRich Felker2012-04-101-1/+10
| | | | | | | | | | | | | | | | | this version is intended to be fully conformant to the ISO C, POSIX, and IEEE standards for conversion of decimal/hex floating point strings to float, double, and long double (ld64 or ld80 only at present) values. in particular, all results are intended to be rounded correctly according to the current rounding mode. further, this implementation aims to set the floating point underflow, overflow, and inexact flags to reflect the conversion performed. a moderate amount of testing has been performed (by nsz and myself) prior to integration of the code in musl, but it still may have bugs. so far, only strto(d|ld|f) use the new code. scanf integration will be done as a separate commit, and i will add implementations of the wide character functions later.
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+6