public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/x86-libc_fe] Use libc_fe* macros in k_standardl.c.
@ 2020-04-20 18:53 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2020-04-20 18:53 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ef7aa90c8960df44756aca9589d1428c2bc968e0

commit ef7aa90c8960df44756aca9589d1428c2bc968e0
Author: Stefan Liebler via Libc-alpha <libc-alpha@sourceware.org>
Date:   Mon Apr 20 08:14:40 2020 -0300

    Use libc_fe* macros in k_standardl.c.

Diff:
---
 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)
     {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-20 18:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-20 18:53 [glibc/azanella/x86-libc_fe] Use libc_fe* macros in k_standardl.c Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).