From owner-cvs-all Wed Mar 12 12:30: 5 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31ACA37B401; Wed, 12 Mar 2003 12:30:01 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6F4C43FDF; Wed, 12 Mar 2003 12:30:00 -0800 (PST) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h2CKU00U026495; Wed, 12 Mar 2003 12:30:00 -0800 (PST) (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2CKU01x026494; Wed, 12 Mar 2003 12:30:00 -0800 (PST) Message-Id: <200303122030.h2CKU01x026494@repoman.freebsd.org> From: David Schultz Date: Wed, 12 Mar 2003 12:30:00 -0800 (PST) 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 ... X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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