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

Unified Diff: test/cctest/test-assembler-a64.cc

Issue 169523005: make a64 compile on mavericks (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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 | « src/a64/simulator-a64.cc ('k') | test/cctest/test-utils-a64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-assembler-a64.cc
diff --git a/test/cctest/test-assembler-a64.cc b/test/cctest/test-assembler-a64.cc
index dda47cd6fa4f7becceca2751cb0a12667442aab5..52f6c6d74815f0a36c4eb75d4b699b86044f26ba 100644
--- a/test/cctest/test-assembler-a64.cc
+++ b/test/cctest/test-assembler-a64.cc
@@ -4940,26 +4940,26 @@ static float MinMaxHelper(float n,
uint32_t raw_n = float_to_rawbits(n);
uint32_t raw_m = float_to_rawbits(m);
- if (isnan(n) && ((raw_n & kFP32QuietNaNMask) == 0)) {
+ if (std::isnan(n) && ((raw_n & kFP32QuietNaNMask) == 0)) {
// n is signalling NaN.
return n;
- } else if (isnan(m) && ((raw_m & kFP32QuietNaNMask) == 0)) {
+ } else if (std::isnan(m) && ((raw_m & kFP32QuietNaNMask) == 0)) {
// m is signalling NaN.
return m;
} else if (quiet_nan_substitute == 0.0) {
- if (isnan(n)) {
+ if (std::isnan(n)) {
// n is quiet NaN.
return n;
- } else if (isnan(m)) {
+ } else if (std::isnan(m)) {
// m is quiet NaN.
return m;
}
} else {
// Substitute n or m if one is quiet, but not both.
- if (isnan(n) && !isnan(m)) {
+ if (std::isnan(n) && !std::isnan(m)) {
// n is quiet NaN: replace with substitute.
n = quiet_nan_substitute;
- } else if (!isnan(n) && isnan(m)) {
+ } else if (!std::isnan(n) && std::isnan(m)) {
// m is quiet NaN: replace with substitute.
m = quiet_nan_substitute;
}
@@ -4982,26 +4982,26 @@ static double MinMaxHelper(double n,
uint64_t raw_n = double_to_rawbits(n);
uint64_t raw_m = double_to_rawbits(m);
- if (isnan(n) && ((raw_n & kFP64QuietNaNMask) == 0)) {
+ if (std::isnan(n) && ((raw_n & kFP64QuietNaNMask) == 0)) {
// n is signalling NaN.
return n;
- } else if (isnan(m) && ((raw_m & kFP64QuietNaNMask) == 0)) {
+ } else if (std::isnan(m) && ((raw_m & kFP64QuietNaNMask) == 0)) {
// m is signalling NaN.
return m;
} else if (quiet_nan_substitute == 0.0) {
- if (isnan(n)) {
+ if (std::isnan(n)) {
// n is quiet NaN.
return n;
- } else if (isnan(m)) {
+ } else if (std::isnan(m)) {
// m is quiet NaN.
return m;
}
} else {
// Substitute n or m if one is quiet, but not both.
- if (isnan(n) && !isnan(m)) {
+ if (std::isnan(n) && !std::isnan(m)) {
// n is quiet NaN: replace with substitute.
n = quiet_nan_substitute;
- } else if (!isnan(n) && isnan(m)) {
+ } else if (!std::isnan(n) && std::isnan(m)) {
// m is quiet NaN: replace with substitute.
m = quiet_nan_substitute;
}
« no previous file with comments | « src/a64/simulator-a64.cc ('k') | test/cctest/test-utils-a64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698