aboutsummaryrefslogtreecommitdiff
path: root/lib/msun
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2021-09-06 17:26:39 +0000
committerMark Murray <markm@FreeBSD.org>2021-09-06 17:51:31 +0000
commit292815eac623035493854f133200a4b1041fa246 (patch)
tree5a4f093cf55e810b1a51b61898df5abf888649a9 /lib/msun
parent8a004a98c2cdf4fdbb8f5eaaebc2f89c0919168c (diff)
downloadsrc-292815eac623035493854f133200a4b1041fa246.tar.gz
src-292815eac623035493854f133200a4b1041fa246.zip
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/src/e_powf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msun/src/e_powf.c b/lib/msun/src/e_powf.c
index 33eedad50b16..122da455f740 100644
--- a/lib/msun/src/e_powf.c
+++ b/lib/msun/src/e_powf.c
@@ -136,7 +136,7 @@ __ieee754_powf(float x, float y)
/* |y| is huge */
if(iy>0x4d000000) { /* if |y| > 2**27 */
/* over/underflow if x is not close to one */
- if(ix<0x3f7ffff7) return (hy<0)? sn*huge*huge:sn*tiny*tiny;
+ if(ix<0x3f7ffff6) return (hy<0)? sn*huge*huge:sn*tiny*tiny;
if(ix>0x3f800007) return (hy>0)? sn*huge*huge:sn*tiny*tiny;
/* now |1-x| is tiny <= 2**-20, suffice to compute
log(x) by x-x^2/2+x^3/3-x^4/4 */