Browse Source

prototype was wrong, change not tested

Peter S. Mazinger 18 years ago
parent
commit
e4e43d658d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      libm/powerpc/w_scalb.c

+ 4 - 0
libm/powerpc/w_scalb.c

@@ -52,7 +52,11 @@ static const double twoToM1022 = 2.225073858507201383e-308;  // 0x1p-1022
 ***********************************************************************/
 
 libm_hidden_proto(scalb)
+#ifdef _SCALB_INT
 double scalb ( double x, int n  )
+#else
+double scalb ( double x, double n  )
+#endif
       {
       DblInHex xInHex;