diff options
Diffstat (limited to 'math/s_significand.c')
-rw-r--r-- | math/s_significand.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/math/s_significand.c b/math/s_significand.c index 197bc9c6e3..348bdcf6ad 100644 --- a/math/s_significand.c +++ b/math/s_significand.c @@ -23,12 +23,7 @@ static char rcsid[] = "$NetBSD: s_significand.c,v 1.6 1995/05/10 20:48:11 jtc Ex #include <math.h> #include <math_private.h> -#ifdef __STDC__ - double __significand(double x) -#else - double __significand(x) - double x; -#endif +double __significand(double x) { return __ieee754_scalb(x,(double) -__ilogb(x)); } |