Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: src/base/ieee754.cc

Issue 2104483002: AIX: Update variable name which conflicts with system defined variable (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/ieee754.cc
diff --git a/src/base/ieee754.cc b/src/base/ieee754.cc
index 2b037ed21fef8722d970529f9598dd849301163b..dd86353bbfbebfa48ab213827586669d96d5167f 100644
--- a/src/base/ieee754.cc
+++ b/src/base/ieee754.cc
@@ -367,7 +367,7 @@ V8_INLINE double __kernel_cos(double x, double y) {
C5 = 2.08757232129817482790e-09, /* 0x3E21EE9E, 0xBDB4B1C4 */
C6 = -1.13596475577881948265e-11; /* 0xBDA8FAE9, 0xBE8838D4 */
- double a, hz, z, r, qx;
+ double a, iz, z, r, qx;
int32_t ix;
GET_HIGH_WORD(ix, x);
ix &= 0x7fffffff; /* ix = |x|'s high word*/
@@ -384,9 +384,9 @@ V8_INLINE double __kernel_cos(double x, double y) {
} else {
INSERT_WORDS(qx, ix - 0x00200000, 0); /* x/4 */
}
- hz = 0.5 * z - qx;
+ iz = 0.5 * z - qx;
a = one - qx;
- return a - (hz - (z * r - x * y));
+ return a - (iz - (z * r - x * y));
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698