svn commit: r275614 - head/lib/msun/src

Steve Kargl kargl at FreeBSD.org
Mon Dec 8 15:47:53 UTC 2014


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;


More information about the svn-src-all mailing list