aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/dbl-64/s_roundeven.c
diff options
context:
space:
mode:
authorShen-Ta Hsieh <ibmibmibm.tw@gmail.com>2021-05-24 09:43:10 +0800
committerH.J. Lu <hjl.tools@gmail.com>2021-06-27 07:56:57 -0700
commit447954a206837b5f153869cfeeeab44631c3fac9 (patch)
tree8af9c8b1c25e0b3f7cd2ca61fe4b1353b3fb270d /sysdeps/ieee754/dbl-64/s_roundeven.c
parent2c16cb88a6e5ace0fb7cedca86860ea7bde522a7 (diff)
downloadglibc-447954a206837b5f153869cfeeeab44631c3fac9.zip
glibc-447954a206837b5f153869cfeeeab44631c3fac9.tar.gz
glibc-447954a206837b5f153869cfeeeab44631c3fac9.tar.bz2
math: redirect roundeven function
This patch redirect roundeven function for futhermore changes. Signed-off-by: Shen-Ta Hsieh <ibmibmibm.tw@gmail.com> Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'sysdeps/ieee754/dbl-64/s_roundeven.c')
-rw-r--r--sysdeps/ieee754/dbl-64/s_roundeven.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_roundeven.c b/sysdeps/ieee754/dbl-64/s_roundeven.c
index 943b2c6..5deff3b 100644
--- a/sysdeps/ieee754/dbl-64/s_roundeven.c
+++ b/sysdeps/ieee754/dbl-64/s_roundeven.c
@@ -16,6 +16,7 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
+#define NO_MATH_REDIRECT
#include <math.h>
#include <math_private.h>
#include <libm-alias-double.h>
@@ -66,5 +67,6 @@ __roundeven (double x)
INSERT_WORDS64 (x, ix);
return x;
}
-hidden_def (__roundeven)
+#ifndef __roundeven
libm_alias_double (__roundeven, roundeven)
+#endif