summaryrefslogtreecommitdiff
path: root/libm/powerpc/w_scalb.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-02 12:12:58 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-02 12:12:58 +0000
commite4e43d658d5c1be914a331010d6f113bdb8624d0 (patch)
tree0dcc8e613eeafd199f8cbb132786a318a4288837 /libm/powerpc/w_scalb.c
parent3b4650a23ff372dde44c264d43af8cfa4ac88e0a (diff)
prototype was wrong, change not tested
Diffstat (limited to 'libm/powerpc/w_scalb.c')
-rw-r--r--libm/powerpc/w_scalb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libm/powerpc/w_scalb.c b/libm/powerpc/w_scalb.c
index bac99fe04..408136001 100644
--- a/libm/powerpc/w_scalb.c
+++ b/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;