summary refs log tree commit diff
path: root/sysdeps/ieee754/flt-32
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/flt-32
parent2c16cb88a6e5ace0fb7cedca86860ea7bde522a7 (diff)
downloadglibc-447954a206837b5f153869cfeeeab44631c3fac9.tar.gz
glibc-447954a206837b5f153869cfeeeab44631c3fac9.tar.xz
glibc-447954a206837b5f153869cfeeeab44631c3fac9.zip
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/flt-32')
-rw-r--r--sysdeps/ieee754/flt-32/s_roundevenf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/ieee754/flt-32/s_roundevenf.c b/sysdeps/ieee754/flt-32/s_roundevenf.c
index ae54365bbe..2cc0d7b001 100644
--- a/sysdeps/ieee754/flt-32/s_roundevenf.c
+++ b/sysdeps/ieee754/flt-32/s_roundevenf.c
@@ -17,6 +17,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-float.h>
@@ -67,4 +68,6 @@ __roundevenf (float x)
   SET_FLOAT_WORD (x, ix);
   return x;
 }
+#ifndef __roundevenf
 libm_alias_float (__roundeven, roundeven)
+#endif