From owner-cvs-all@FreeBSD.ORG Sat Jan 19 18:13:21 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6659816A469; Sat, 19 Jan 2008 18:13:21 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6D20713C4CE; Sat, 19 Jan 2008 18:13:21 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m0JIDLSB070713; Sat, 19 Jan 2008 18:13:21 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m0JIDLjF070709; Sat, 19 Jan 2008 18:13:21 GMT (envelope-from bde) Message-Id: <200801191813.m0JIDLjF070709@repoman.freebsd.org> From: Bruce Evans Date: Sat, 19 Jan 2008 18:13:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/msun/src s_log1p.c s_log1pf.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2008 18:13:21 -0000 bde 2008-01-19 18:13:21 UTC FreeBSD src repository Modified files: lib/msun/src s_log1p.c s_log1pf.c Log: Use STRICT_ASSIGN() for log1pf() and log1p() instead of a volatile cast hack for log1pf() only. The cast hack broke with gcc-4, resulting in ~1 million errors of more than 1 ulp, with a maximum error of ~1.5 ulps. Now the maximum error for log1pf() on i386 is 0.5034 ulps again (this depends on extra precision), and log1p() has a chance of working with extra precision. See s_log1pf.c 1.8 for the original hack. (It claims only 62343 large errors). Convert to _FBSDID(). Another thing broken with gcc-4 is the static const hack used for rcsids. Revision Changes Path 1.9 +5 -4 src/lib/msun/src/s_log1p.c 1.10 +5 -4 src/lib/msun/src/s_log1pf.c