aboutsummaryrefslogtreecommitdiff
path: root/newlib/libm/math/ef_pow.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/math/ef_pow.c')
-rw-r--r--newlib/libm/math/ef_pow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/math/ef_pow.c b/newlib/libm/math/ef_pow.c
index c7b1975..8cf58db 100644
--- a/newlib/libm/math/ef_pow.c
+++ b/newlib/libm/math/ef_pow.c
@@ -242,7 +242,7 @@ ivln2_l = 7.0526075433e-06; /* 0x36eca570 =1/ln2 tail*/
}
t = p_l+p_h;
GET_FLOAT_WORD(is,t);
- SET_FLOAT_WORD(t,is&0xfffff000);
+ SET_FLOAT_WORD(t,is&0xffff8000);
u = t*lg2_h;
v = (p_l-(t-p_h))*lg2+t*lg2_l;
z = u+v;