summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/dbl-64
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-10-14 15:18:42 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-12-06 05:47:03 -0600
commitae1a4cd9fff141bfda46ecd7279f535dc64ba815 (patch)
treec7a2d3f7006ffd468a9b95a2ff4600c9d24f37cd /sysdeps/ieee754/dbl-64
parent64fffd65d7df6ab157f97a893664b679fe5e923c (diff)
downloadglibc-ae1a4cd9fff141bfda46ecd7279f535dc64ba815.tar.gz
PowerPC: multiarch finite/finitef for PowerPC32
Diffstat (limited to 'sysdeps/ieee754/dbl-64')
-rw-r--r--sysdeps/ieee754/dbl-64/s_finite.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_finite.c b/sysdeps/ieee754/dbl-64/s_finite.c
index 5dc398efc6..49986bbde9 100644
--- a/sysdeps/ieee754/dbl-64/s_finite.c
+++ b/sysdeps/ieee754/dbl-64/s_finite.c
@@ -23,8 +23,12 @@ static char rcsid[] = "$NetBSD: s_finite.c,v 1.8 1995/05/10 20:47:17 jtc Exp $";
#include <math_private.h>
#undef __finite
-int
-__finite (double x)
+
+#ifndef FINITE
+# define FINITE __finite
+#endif
+
+int FINITE(double x)
{
int32_t hx;
GET_HIGH_WORD (hx, x);