diff options
author | Stefan Liebler via Libc-alpha <libc-alpha@sourceware.org> | 2020-04-17 08:51:19 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-04-17 08:51:19 -0300 |
commit | 2689a8fe244d8ca7d77880a2db1fbdf56a8a8817 (patch) | |
tree | 929455b0719e9dc197f8d9f9e666c74e8811c330 | |
parent | 8797374d4c88b2dc314e7e03daed42c6df120311 (diff) | |
download | glibc-azanella/sfp-exceptions.tar.gz |
Use libc_fe* macros in k_standardl.cazanella/sfp-exceptions
-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) { |