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
This commit is contained in:
parent
4c16f1b111
commit
5dc4735cb3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=275614
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user