summaryrefslogtreecommitdiffstats
path: root/lib/libc/gdtoa/machdep_ldisx.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement xlocale APIs from Darwin, mainly for use by libc++. This adds atheraven2011-11-201-2/+8
| | | | | | | | | | | | load of _l suffixed versions of various standard library functions that use the global locale, making them take an explicit locale parameter. Also adds support for per-thread locales. This work was funded by the FreeBSD Foundation. Please test any code you have that uses the C standard locale functions! Reviewed by: das (gdtoa changes) Approved by: dim (mentor)
* In scanf, round according to the current rounding mode.das2007-12-031-1/+3
|
* /strtopx/ s/result/&result/das2003-04-091-1/+1
| | | | This is the version I *meant* to commit last week.
* Replace our ancient dtoa/strtod implementation with the gdtoadas2003-03-121-0/+45
package, a more recent, generalized set of routines. Among the changes: - Declare strtof() and strtold() in stdlib.h. - Add glue to libc to support these routines for all kinds of ``long double''. - Update printf() to reflect the fact that dtoa works slightly differently now. As soon as I see that nothing has blown up, I will kill src/lib/libc/stdlib/strtod.c. Soon printf() will be able to use the new routines to output long doubles without loss of precision, but numerous bugs in the existing code must be addressed first. Reviewed by: bde (briefly), mike (mentor), obrien
OpenPOWER on IntegriCloud