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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to