1.1 --- a/src/share/vm/runtime/sharedRuntimeTrans.cpp Fri Jul 26 00:59:18 2013 +0200 1.2 +++ b/src/share/vm/runtime/sharedRuntimeTrans.cpp Thu Aug 22 09:39:54 2013 -0700 1.3 @@ -56,10 +56,12 @@ 1.4 # define __LO(x) *(1+(int*)&x) 1.5 #endif 1.6 1.7 +#if !defined(AIX) 1.8 double copysign(double x, double y) { 1.9 __HI(x) = (__HI(x)&0x7fffffff)|(__HI(y)&0x80000000); 1.10 return x; 1.11 } 1.12 +#endif 1.13 1.14 /* 1.15 * ==================================================== 1.16 @@ -85,6 +87,7 @@ 1.17 hugeX = 1.0e+300, 1.18 tiny = 1.0e-300; 1.19 1.20 +#if !defined(AIX) 1.21 double scalbn (double x, int n) { 1.22 int k,hx,lx; 1.23 hx = __HI(x); 1.24 @@ -111,6 +114,7 @@ 1.25 __HI(x) = (hx&0x800fffff)|(k<<20); 1.26 return x*twom54; 1.27 } 1.28 +#endif 1.29 1.30 /* __ieee754_log(x) 1.31 * Return the logrithm of x