aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--math/e_exp2_template.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9a614182a6..79bca1dae9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
+ * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
+
* math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
* math/w_asin_template.c: Likewise.
* math/w_atanh_template.c: Likewise.
diff --git a/math/e_exp2_template.c b/math/e_exp2_template.c
index 5b82588c2a..94a21054c2 100644
--- a/math/e_exp2_template.c
+++ b/math/e_exp2_template.c
@@ -41,7 +41,7 @@ M_DECL_FUNC (__ieee754_exp2) (FLOAT x)
if (M_FABS (fractx) < M_EPSILON / 4)
result = M_SCALBN (1 + fractx, intx);
else
- result = M_SCALBN (M_EXP (M_SUF (M_LN2) * fractx), intx);
+ result = M_SCALBN (M_EXP (M_MLIT (M_LN2) * fractx), intx);
math_check_force_underflow_nonneg (result);
return result;
}