From owner-cvs-all@FreeBSD.ORG Thu Feb 24 06:32:14 2005 Return-Path: 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 28C2916A4CE; Thu, 24 Feb 2005 06:32:14 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF87643D1D; Thu, 24 Feb 2005 06:32:13 +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 j1O6WDa2029590; Thu, 24 Feb 2005 06:32:13 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1O6WDP9029589; Thu, 24 Feb 2005 06:32:13 GMT (envelope-from das) Message-Id: <200502240632.j1O6WDP9029589@repoman.freebsd.org> From: David Schultz Date: Thu, 24 Feb 2005 06:32:13 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/msun/src e_expf.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 24 Feb 2005 06:32:14 -0000 das 2005-02-24 06:32:13 UTC FreeBSD src repository Modified files: lib/msun/src e_expf.c Log: Revert rev 1.8, which causes small (e.g. 2 ulp) errors for some inputs. The trouble with replacing two floats with a double is that the latter has 6 extra bits of precision, which actually hurts accuracy in many cases. All of the constants are optimal when float arithmetic is used, and would need to be recomputed to do this right. Noticed by: bde (ucbtest) Revision Changes Path 1.9 +13 -8 src/lib/msun/src/e_expf.c