aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/ieee754/ldbl-128/e_expl.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0f06fe4ce8..0a366fac72 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-07-21 Steve Ellcey <sellcey@cavium.com>
+
+ * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call
+ math_force_eval.
+
2017-07-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* sysdeps/sparc/fpu/libm-test-ulps: Update.
diff --git a/sysdeps/ieee754/ldbl-128/e_expl.c b/sysdeps/ieee754/ldbl-128/e_expl.c
index 15639d1da1..fd7700c7fa 100644
--- a/sysdeps/ieee754/ldbl-128/e_expl.c
+++ b/sysdeps/ieee754/ldbl-128/e_expl.c
@@ -192,6 +192,7 @@ __ieee754_expl (_Float128 x)
with maximum error in [-2^-16-2^-53,2^-16+2^-53]
less than 4.8e-39. */
x22 = x + x*x*(P1+x*(P2+x*(P3+x*(P4+x*(P5+x*P6)))));
+ math_force_eval (x22);
/* Return result. */
fesetenv (&oldenv);