From owner-cvs-all@FreeBSD.ORG Sun Jul 3 01:07:13 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 F1E0516A6FA; Sun, 3 Jul 2005 00:57:56 +0000 (GMT) (envelope-from ps@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2703D43F96; Sun, 3 Jul 2005 00:40:54 +0000 (GMT) (envelope-from ps@mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id A74526DB19; Sat, 2 Jul 2005 17:37:53 -0700 (PDT) X-Original-To: ps@mu.org Delivered-To: ps@mu.org Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by elvis.mu.org (Postfix) with ESMTP id ABDA85C9CA for ; Fri, 21 Jan 2005 22:03:47 -0800 (PST) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 95AE555EB7 for ; Sat, 22 Jan 2005 06:03:47 +0000 (GMT) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 4CF1C16A4CF; Sat, 22 Jan 2005 06:03:43 +0000 (GMT) Delivered-To: ps@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 538) id 9DCBA16A4D0; Sat, 22 Jan 2005 06:03:41 +0000 (GMT) Delivered-To: src-committers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98E1F16A4CE; Sat, 22 Jan 2005 06:03:40 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C48B43D1D; Sat, 22 Jan 2005 06:03:40 +0000 (GMT) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0M63eEX037898; Sat, 22 Jan 2005 06:03:40 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0M63egE037897; Sat, 22 Jan 2005 06:03:40 GMT (envelope-from das) Message-Id: <200501220603.j0M63egE037897@repoman.freebsd.org> From: David Schultz To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on elvis.mu.org X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Cc: Subject: cvs commit: src/lib/libc/alpha/gen ldexp.c src/lib/libc/arm/gen ldexp.c src/lib/libc/ia64/gen ldexp.c src/lib/libc/powerpc/gen ldexp.c src/lib/libc/sparc64/gen ldexp.c src/lib/libc/gen ldexp.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 03 Jul 2005 01:07:13 -0000 X-Original-Date: Sat, 22 Jan 2005 06:03:40 +0000 (UTC) X-List-Received-Date: Sun, 03 Jul 2005 01:07:13 -0000 das 2005-01-22 06:03:40 UTC FreeBSD src repository Added files: lib/libc/gen ldexp.c Removed files: lib/libc/alpha/gen ldexp.c lib/libc/arm/gen ldexp.c lib/libc/ia64/gen ldexp.c lib/libc/powerpc/gen ldexp.c lib/libc/sparc64/gen ldexp.c Log: Replace the ldexp() implementation in libc with a renamed copy of the scalbn() implementation from libm. (The two functions are defined to be identical, but ldexp() lives in libc for backwards compatibility.) The old ldexp() implementation... - was more complicated than this one - set errno instead of raising FP exceptions - got some corner cases wrong (e.g. ldexp(1.0, 2000) in round-to-zero mode) The new implementation lives in libc/gen instead of libc/$MACHINE_ARCH/gen, since we don't need N copies of a machine-independent file. The amd64 and i386 platforms retain their fast and correct MD implementations and override this one. Revision Changes Path 1.5 +0 -137 src/lib/libc/alpha/gen/ldexp.c (dead) 1.2 +0 -155 src/lib/libc/arm/gen/ldexp.c (dead) 1.1 +123 -0 src/lib/libc/gen/ldexp.c (new) 1.4 +0 -137 src/lib/libc/ia64/gen/ldexp.c (dead) 1.2 +0 -155 src/lib/libc/powerpc/gen/ldexp.c (dead) 1.4 +0 -155 src/lib/libc/sparc64/gen/ldexp.c (dead)