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 | |
parent | 64fffd65d7df6ab157f97a893664b679fe5e923c (diff) | |
download | glibc-ae1a4cd9fff141bfda46ecd7279f535dc64ba815.zip glibc-ae1a4cd9fff141bfda46ecd7279f535dc64ba815.tar.gz glibc-ae1a4cd9fff141bfda46ecd7279f535dc64ba815.tar.bz2 |
PowerPC: multiarch finite/finitef for PowerPC32
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_finite.c | 8 | ||||
-rw-r--r-- | sysdeps/ieee754/flt-32/s_finitef.c | 7 |
2 files changed, 12 insertions, 3 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_finite.c b/sysdeps/ieee754/dbl-64/s_finite.c index 5dc398e..49986bb 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); diff --git a/sysdeps/ieee754/flt-32/s_finitef.c b/sysdeps/ieee754/flt-32/s_finitef.c index dfdf4ad..4ea270a 100644 --- a/sysdeps/ieee754/flt-32/s_finitef.c +++ b/sysdeps/ieee754/flt-32/s_finitef.c @@ -26,7 +26,12 @@ static char rcsid[] = "$NetBSD: s_finitef.c,v 1.4 1995/05/10 20:47:18 jtc Exp $" #include <math_private.h> #undef __finitef -int __finitef(float x) + +#ifndef FINITEF +# define FINITEF __finitef +#endif + +int FINITEF(float x) { int32_t ix; GET_FLOAT_WORD(ix,x); |