aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/s_ldexpf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/s_ldexpf.c')
-rw-r--r--sysdeps/generic/s_ldexpf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/generic/s_ldexpf.c b/sysdeps/generic/s_ldexpf.c
index 1ecbe8346b..07f0c9ecff 100644
--- a/sysdeps/generic/s_ldexpf.c
+++ b/sysdeps/generic/s_ldexpf.c
@@ -28,9 +28,10 @@ static char rcsid[] = "$NetBSD: s_ldexpf.c,v 1.3 1995/05/10 20:47:42 jtc Exp $";
float value; int exp;
#endif
{
- if(!__finitef(value)||value==(float)0.0) return value;
+ if(!INTUSE(__finitef)(value)||value==(float)0.0) return value;
value = __scalbnf(value,exp);
- if(!__finitef(value)||value==(float)0.0) __set_errno (ERANGE);
+ if(!INTUSE(__finitef)(value)||value==(float)0.0) __set_errno (ERANGE);
return value;
}
+INTDEF(__ldexpf)
weak_alias (__ldexpf, ldexpf)