mirror of git://sourceware.org/git/glibc.git
math: Use internal feholdexcept alias on fma
To avoid linknamespace issues on old standards. It is required if the fallback fma implementation is used if/when it is also used internally for other implementation. Reviewed-by: DJ Delorie <dj@redhat.com>
This commit is contained in:
parent
2eb8836de7
commit
5624ee0482
|
@ -216,7 +216,7 @@ __fma (double x, double y, double z)
|
|||
/* Ensure the arithmetic is not scheduled after feclearexcept call. */
|
||||
math_force_eval (m2);
|
||||
math_force_eval (a2);
|
||||
feclearexcept (FE_INEXACT);
|
||||
__feclearexcept (FE_INEXACT);
|
||||
|
||||
/* If the result is an exact zero, ensure it has the correct sign. */
|
||||
if (a1 == 0 && m2 == 0)
|
||||
|
|
|
@ -218,7 +218,7 @@ __fmal (_Float128 x, _Float128 y, _Float128 z)
|
|||
/* Ensure the arithmetic is not scheduled after feclearexcept call. */
|
||||
math_force_eval (m2);
|
||||
math_force_eval (a2);
|
||||
feclearexcept (FE_INEXACT);
|
||||
__feclearexcept (FE_INEXACT);
|
||||
|
||||
/* If the result is an exact zero, ensure it has the correct sign. */
|
||||
if (a1 == 0 && m2 == 0)
|
||||
|
|
|
@ -75,7 +75,7 @@ __fma (double x, double y, double z)
|
|||
/* Ensure the arithmetic is not scheduled after feclearexcept call. */
|
||||
math_force_eval (m2);
|
||||
math_force_eval (a2);
|
||||
feclearexcept (FE_INEXACT);
|
||||
__feclearexcept (FE_INEXACT);
|
||||
|
||||
/* If the result is an exact zero, ensure it has the correct sign. */
|
||||
if (a1 == 0 && m2 == 0)
|
||||
|
|
|
@ -208,7 +208,7 @@ __fmal (long double x, long double y, long double z)
|
|||
/* Ensure the arithmetic is not scheduled after feclearexcept call. */
|
||||
math_force_eval (m2);
|
||||
math_force_eval (a2);
|
||||
feclearexcept (FE_INEXACT);
|
||||
__feclearexcept (FE_INEXACT);
|
||||
|
||||
/* If the result is an exact zero, ensure it has the correct sign. */
|
||||
if (a1 == 0 && m2 == 0)
|
||||
|
|
Loading…
Reference in New Issue