Fix cexpl when compiled with latest GCC

* sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call
	math_force_eval.
This commit is contained in:
Steve Ellcey 2017-07-21 09:47:57 -07:00
parent 2d9b85e7e7
commit a4c9be1b8b
2 changed files with 6 additions and 0 deletions

View File

@ -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> 2017-07-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* sysdeps/sparc/fpu/libm-test-ulps: Update. * sysdeps/sparc/fpu/libm-test-ulps: Update.

View File

@ -192,6 +192,7 @@ __ieee754_expl (_Float128 x)
with maximum error in [-2^-16-2^-53,2^-16+2^-53] with maximum error in [-2^-16-2^-53,2^-16+2^-53]
less than 4.8e-39. */ less than 4.8e-39. */
x22 = x + x*x*(P1+x*(P2+x*(P3+x*(P4+x*(P5+x*P6))))); x22 = x + x*x*(P1+x*(P2+x*(P3+x*(P4+x*(P5+x*P6)))));
math_force_eval (x22);
/* Return result. */ /* Return result. */
fesetenv (&oldenv); fesetenv (&oldenv);