We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f052f42 commit a090d3eCopy full SHA for a090d3e
src/e_powf.c
@@ -137,7 +137,7 @@ __ieee754_powf(float x, float y)
137
/* |y| is huge */
138
if(iy>0x4d000000) { /* if |y| > 2**27 */
139
/* over/underflow if x is not close to one */
140
- if(ix<0x3f7ffff7) return (hy<0)? sn*huge*huge:sn*tiny*tiny;
+ if(ix<0x3f7ffff6) return (hy<0)? sn*huge*huge:sn*tiny*tiny;
141
if(ix>0x3f800007) return (hy>0)? sn*huge*huge:sn*tiny*tiny;
142
/* now |1-x| is tiny <= 2**-20, suffice to compute
143
log(x) by x-x^2/2+x^3/3-x^4/4 */
0 commit comments