summaryrefslogtreecommitdiffstats
path: root/lib/libc/gdtoa
Commit message (Collapse)AuthorAgeFilesLines
* Updated manh shift constant type to 'ULL' for PPC to fixgrehan2004-01-211-1/+1
| | | | | | shift-too-large compile error reviewed by: das
* Implement __hdtoa() and __hldtoa() and enable printf() support for %adas2004-01-182-1/+433
| | | | and %A, which print floating-point numbers in hexadecimal.
* Fix a bug that caused long double subnormals to be printeddas2004-01-181-0/+3
| | | | | incorrectly on architectures without an explicit normalization bit (sparc64, powerpc).
* Replaced an ugly hack to selectively disable warningsru2004-01-111-3/+0
| | | | | | | in contributed sources with just a hack made possible by bsd.sys.mk,v 1.33. This is better because it just nulls out the warning flags rather than adding gcc(1) specific -w option to CFLAGS.
* Add an ulgy hack so that warnings added by non-zero WARNS values won't beobrien2004-01-101-0/+3
| | | | | | used with the contrib/ gdtoa sources as they aren't WARNS-clean. Submitted by: ru
* Userland spinlocks bad. Sleep locks good.das2003-06-211-2/+5
| | | | | | Use the latter for gdtoa. Requested by: deischen (far too long ago)
* /strtopx/ s/result/&result/das2003-04-092-2/+2
| | | | This is the version I *meant* to commit last week.
* Add __ldtoa(), a wrapper around gdtoa() to make it look like dtoa().das2003-04-052-1/+98
| | | | | | | In support of this, add some MD macros to assist in converting long doubles to the format expected by gdtoa(). Reviewed by: silence on standards@
* Clean up the way gdtoa sources are found.obrien2003-03-131-1/+6
| | | | OK'ed by: das
* Replace our ancient dtoa/strtod implementation with the gdtoadas2003-03-125-0/+159
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