[PATCH 4/4] Use libc_fe* macros in k_standardl.c.
Stefan Liebler
stli@linux.ibm.com
Wed Mar 25 10:06:28 GMT 2020
The calls to feholdexcept and fesetenv are replaced
by the libc_fe* macros.
---
sysdeps/ieee754/k_standardl.c | 5 +++--
1 file 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)
{
--
2.23.0
More information about the Libc-alpha
mailing list