We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bcd8c3 commit a723a70Copy full SHA for a723a70
newlib/libm/common/sf_log1p.c
@@ -47,8 +47,8 @@ log1pf(float x)
47
else
48
return __math_invalidf (x); /* log1p(x<-1)=NaN */
49
}
50
- if(ax<0x31000000) { /* |x| < 2**-29 */
51
- if(ax<0x24800000) /* |x| < 2**-54 */
+ if(ax<0x39000000) { /* |x| < 2**-13 */
+ if(ax<0x32800000) /* |x| < 2**-26 */
52
return __math_inexactf(x);
53
54
return __math_inexactf(x - x*x*(float)0.5);
0 commit comments