From owner-svn-src-all@FreeBSD.ORG Mon Dec 8 15:47:53 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21FC544B; Mon, 8 Dec 2014 15:47:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0F4302EF; Mon, 8 Dec 2014 15:47:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sB8FlqwT075407; Mon, 8 Dec 2014 15:47:52 GMT (envelope-from kargl@FreeBSD.org) Received: (from kargl@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sB8FlqsS075406; Mon, 8 Dec 2014 15:47:52 GMT (envelope-from kargl@FreeBSD.org) Message-Id: <201412081547.sB8FlqsS075406@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: kargl set sender to kargl@FreeBSD.org using -f From: Steve Kargl Date: Mon, 8 Dec 2014 15:47:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r275614 - head/lib/msun/src X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 15:47:53 -0000 Author: kargl Date: Mon Dec 8 15:47:52 2014 New Revision: 275614 URL: https://svnweb.freebsd.org/changeset/base/275614 Log: Adjust the |x| small limit from 0x1p-7 to 0x1p-9. This adjustment increases the number of correctly rounded cases within the interval on i386. Requested by: bde Modified: head/lib/msun/src/e_j0f.c Modified: head/lib/msun/src/e_j0f.c ============================================================================== --- head/lib/msun/src/e_j0f.c Mon Dec 8 15:45:07 2014 (r275613) +++ head/lib/msun/src/e_j0f.c Mon Dec 8 15:47:52 2014 (r275614) @@ -69,7 +69,7 @@ __ieee754_j0f(float x) } return z; } - if(ix<0x3c000000) { /* |x| < 2**-7 */ + if(ix<0x3b000000) { /* |x| < 2**-9 */ if(huge+x>one) { /* raise inexact if x != 0 */ if(ix<0x39800000) return one; /* |x|<2**-12 */ else return one - x*x/4;