Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libm/src/s_scalbn.c,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libm/src/s_scalbn.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.11 retrieving revision 1.12 diff -u -p -r1.11 -r1.12 --- src/lib/libm/src/s_scalbn.c 1999/07/02 15:37:43 1.11 +++ src/lib/libm/src/s_scalbn.c 2002/05/26 22:01:58 1.12 @@ -12,7 +12,7 @@ #include #if defined(LIBM_SCCS) && !defined(lint) -__RCSID("$NetBSD: s_scalbn.c,v 1.11 1999/07/02 15:37:43 simonb Exp $"); +__RCSID("$NetBSD: s_scalbn.c,v 1.12 2002/05/26 22:01:58 wiz Exp $"); #endif /* @@ -25,22 +25,14 @@ __RCSID("$NetBSD: s_scalbn.c,v 1.11 1999 #include "math.h" #include "math_private.h" -#ifdef __STDC__ static const double -#else -static double -#endif two54 = 1.80143985094819840000e+16, /* 0x43500000, 0x00000000 */ twom54 = 5.55111512312578270212e-17, /* 0x3C900000, 0x00000000 */ huge = 1.0e+300, tiny = 1.0e-300; -#ifdef __STDC__ - double scalbn (double x, int n) -#else - double scalbn (x,n) - double x; int n; -#endif +double +scalbn(double x, int n) { int32_t k,hx,lx; EXTRACT_WORDS(hx,lx,x);