Mercurial > hg > truffle
diff src/share/vm/runtime/sharedRuntimeTrig.cpp @ 17812:a7d4d4655766
Merge
author | kvn |
---|---|
date | Wed, 26 Mar 2014 18:21:05 -0700 |
parents | bdd155477289 |
children | 8a9bb7821e28 631c3a4ea10c |
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntimeTrig.cpp Mon Mar 24 10:48:44 2014 -0700 +++ b/src/share/vm/runtime/sharedRuntimeTrig.cpp Wed Mar 26 18:21:05 2014 -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)); } }