diff options
Diffstat (limited to 'libc/sysdeps/ieee754/dbl-64/s_finite.c')
-rw-r--r-- | libc/sysdeps/ieee754/dbl-64/s_finite.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libc/sysdeps/ieee754/dbl-64/s_finite.c b/libc/sysdeps/ieee754/dbl-64/s_finite.c index 5dc398efc..49986bbde 100644 --- a/libc/sysdeps/ieee754/dbl-64/s_finite.c +++ b/libc/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); |