diff options
-rw-r--r-- | sysdeps/ieee754/k_standardl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/ieee754/k_standardl.c b/sysdeps/ieee754/k_standardl.c index a93d53cde9..286741879d 100644 --- a/sysdeps/ieee754/k_standardl.c +++ b/sysdeps/ieee754/k_standardl.c @@ -34,6 +34,7 @@ #include <math-barriers.h> #include <math-svid-compat.h> #include <fenv.h> +#include <fenv_private.h> #include <float.h> #include <errno.h> @@ -53,12 +54,12 @@ __kernel_standard_l (long double x, long double y, int type) struct exception exc; fenv_t env; - feholdexcept (&env); + libc_feholdexceptl (&env); dx = x; dy = y; math_force_eval (dx); math_force_eval (dy); - fesetenv (&env); + libc_fesetenvl (&env); switch (type) { |