Date: Wed, 12 Mar 2003 12:30:00 -0800 (PST) From: David Schultz <das@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/include stdlib.h src/lib/libc Makefile src/lib/libc/alpha arith.h src/lib/libc/alpha/stdlib gdtoa.mk src/lib/libc/gdtoa Makefile.inc glue.c machdep_ldisQ.c machdep_ldisd.c machdep_ldisx.c src/lib/libc/i386 arith.h ... Message-ID: <200303122030.h2CKU01x026494@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
das 2003/03/12 12:30:00 PST
FreeBSD src repository
Modified files:
include stdlib.h
lib/libc Makefile
lib/libc/stdio vfprintf.c
lib/libc/stdlib Makefile.inc
Added files:
lib/libc/alpha arith.h
lib/libc/alpha/stdlib gdtoa.mk
lib/libc/gdtoa Makefile.inc glue.c machdep_ldisQ.c
machdep_ldisd.c machdep_ldisx.c
lib/libc/i386 arith.h
lib/libc/i386/stdlib gdtoa.mk
lib/libc/ia64 arith.h
lib/libc/ia64/stdlib gdtoa.mk
lib/libc/powerpc arith.h
lib/libc/powerpc/stdlib gdtoa.mk
lib/libc/sparc64 arith.h
lib/libc/sparc64/stdlib gdtoa.mk
Log:
Replace our ancient dtoa/strtod implementation with the gdtoa
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
Revision Changes Path
1.48 +3 -3 src/include/stdlib.h
1.39 +7 -0 src/lib/libc/Makefile
1.1 +13 -0 src/lib/libc/alpha/arith.h (new)
1.1 +4 -0 src/lib/libc/alpha/stdlib/gdtoa.mk (new)
1.1 +16 -0 src/lib/libc/gdtoa/Makefile.inc (new)
1.1 +10 -0 src/lib/libc/gdtoa/glue.c (new)
1.1 +45 -0 src/lib/libc/gdtoa/machdep_ldisQ.c (new)
1.1 +43 -0 src/lib/libc/gdtoa/machdep_ldisd.c (new)
1.1 +45 -0 src/lib/libc/gdtoa/machdep_ldisx.c (new)
1.1 +8 -0 src/lib/libc/i386/arith.h (new)
1.1 +5 -0 src/lib/libc/i386/stdlib/gdtoa.mk (new)
1.1 +30 -0 src/lib/libc/ia64/arith.h (new)
1.1 +5 -0 src/lib/libc/ia64/stdlib/gdtoa.mk (new)
1.1 +9 -0 src/lib/libc/powerpc/arith.h (new)
1.1 +5 -0 src/lib/libc/powerpc/stdlib/gdtoa.mk (new)
1.1 +12 -0 src/lib/libc/sparc64/arith.h (new)
1.1 +5 -0 src/lib/libc/sparc64/stdlib/gdtoa.mk (new)
1.51 +10 -9 src/lib/libc/stdio/vfprintf.c
1.44 +1 -1 src/lib/libc/stdlib/Makefile.inc
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303122030.h2CKU01x026494>
