Mercurial > hg > truffle
diff src/share/vm/runtime/sharedRuntimeTrig.cpp @ 14411:bdd155477289
8023033: PPC64 (part 13): basic changes for AIX
Summary: Added AIX includes alpha-sorted before BSD. Fix compilation issues with xlC in shared code. Basic shared platform dependend adaption (vm_version etc.).
Reviewed-by: kvn, dholmes, stefank
author | goetz |
---|---|
date | Thu, 22 Aug 2013 09:39:54 -0700 |
parents | f95d63e2154a |
children | 8a9bb7821e28 631c3a4ea10c |
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntimeTrig.cpp Fri Jul 26 00:59:18 2013 +0200 +++ b/src/share/vm/runtime/sharedRuntimeTrig.cpp Thu Aug 22 09:39:54 2013 -0700 @@ -658,7 +658,7 @@ static double __kernel_cos(double x, double y) { - double a,hz,z,r,qx; + double a,h,z,r,qx; int ix; ix = __HI(x)&0x7fffffff; /* ix = |x|'s high word*/ if(ix<0x3e400000) { /* if x < 2**27 */ @@ -675,9 +675,9 @@ __HI(qx) = ix-0x00200000; /* x/4 */ __LO(qx) = 0; } - hz = 0.5*z-qx; - a = one-qx; - return a - (hz - (z*r-x*y)); + h = 0.5*z-qx; + a = one-qx; + return a - (h - (z*r-x*y)); } }