Date: Mon, 8 Dec 2014 15:47:52 +0000 (UTC) From: Steve Kargl <kargl@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r275614 - head/lib/msun/src Message-ID: <201412081547.sB8FlqsS075406@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412081547.sB8FlqsS075406>