aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/runtime/sharedRuntimeTrig.cpp
diff options
context:
space:
mode:
authorgoetz <none@none>2013-08-22 09:39:54 -0700
committergoetz <none@none>2013-08-22 09:39:54 -0700
commit1ad3146e781b73ff56ceaea7f25b2fd4aa474d06 (patch)
tree540445fc02ee99b66c89d009933ac35ab557d602 /src/share/vm/runtime/sharedRuntimeTrig.cpp
parent332fd3925fdb8157298b7091650aebbc5657ce3e (diff)
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
Diffstat (limited to 'src/share/vm/runtime/sharedRuntimeTrig.cpp')
-rw-r--r--src/share/vm/runtime/sharedRuntimeTrig.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/share/vm/runtime/sharedRuntimeTrig.cpp b/src/share/vm/runtime/sharedRuntimeTrig.cpp
index 74ed30cb0..a3590df87 100644
--- a/src/share/vm/runtime/sharedRuntimeTrig.cpp
+++ b/src/share/vm/runtime/sharedRuntimeTrig.cpp
@@ -658,7 +658,7 @@ C6 = -1.13596475577881948265e-11; /* 0xBDA8FAE9, 0xBE8838D4 */
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 @@ static double __kernel_cos(double x, double y)
__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));
}
}