summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Liebler via Libc-alpha <libc-alpha@sourceware.org>2020-04-20 08:14:40 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-04-20 15:28:59 -0300
commitef7aa90c8960df44756aca9589d1428c2bc968e0 (patch)
tree9f1c2138647b34e063b906d36862d34aebc09577
parent035ed16ebeb4c30737e51507ed5cb03880aa148a (diff)
downloadglibc-ef7aa90c8960df44756aca9589d1428c2bc968e0.tar.gz
Use libc_fe* macros in k_standardl.c.
-rw-r--r--sysdeps/ieee754/k_standardl.c5
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)
{