diff options
Diffstat (limited to 'math/s_ldexp.c')
-rw-r--r-- | math/s_ldexp.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/math/s_ldexp.c b/math/s_ldexp.c index e990217..aa68b01 100644 --- a/math/s_ldexp.c +++ b/math/s_ldexp.c @@ -18,12 +18,7 @@ static char rcsid[] = "$NetBSD: s_ldexp.c,v 1.6 1995/05/10 20:47:40 jtc Exp $"; #include <math_private.h> #include <errno.h> -#ifdef __STDC__ - double __ldexp(double value, int exp) -#else - double __ldexp(value, exp) - double value; int exp; -#endif +double __ldexp(double value, int exp) { if(!__finite(value)||value==0.0) return value; value = __scalbn(value,exp); |