summaryrefslogtreecommitdiff
path: root/sysdeps/generic/s_ldexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/s_ldexp.c')
-rw-r--r--sysdeps/generic/s_ldexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/s_ldexp.c b/sysdeps/generic/s_ldexp.c
index 12c336fad4..20c444f7db 100644
--- a/sysdeps/generic/s_ldexp.c
+++ b/sysdeps/generic/s_ldexp.c
@@ -25,9 +25,9 @@ static char rcsid[] = "$NetBSD: s_ldexp.c,v 1.6 1995/05/10 20:47:40 jtc Exp $";
double value; int exp;
#endif
{
- if(!__finite(value)||value==0.0) return value;
+ if(!INTUSE(__finite)(value)||value==0.0) return value;
value = __scalbn(value,exp);
- if(!__finite(value)||value==0.0) __set_errno (ERANGE);
+ if(!INTUSE(__finite)(value)||value==0.0) __set_errno (ERANGE);
return value;
}
weak_alias (__ldexp, ldexp)