diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-10-14 15:18:42 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-12-06 05:47:03 -0600 |
commit | ae1a4cd9fff141bfda46ecd7279f535dc64ba815 (patch) | |
tree | c7a2d3f7006ffd468a9b95a2ff4600c9d24f37cd /sysdeps/ieee754/dbl-64/s_finite.c | |
parent | 64fffd65d7df6ab157f97a893664b679fe5e923c (diff) | |
download | glibc-ae1a4cd9fff141bfda46ecd7279f535dc64ba815.tar.gz glibc-ae1a4cd9fff141bfda46ecd7279f535dc64ba815.tar.xz glibc-ae1a4cd9fff141bfda46ecd7279f535dc64ba815.zip |
PowerPC: multiarch finite/finitef for PowerPC32
Diffstat (limited to 'sysdeps/ieee754/dbl-64/s_finite.c')
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_finite.c | 8 |
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); |