Index: test/cctest/test-checks.cc |
diff --git a/test/cctest/test-checks.cc b/test/cctest/test-checks.cc |
index 79e87ddd0c8572d7bb531f8a8e64cd37a506d16c..bde0613db43fbab99a97b12bb37c227f227b7ffe 100644 |
--- a/test/cctest/test-checks.cc |
+++ b/test/cctest/test-checks.cc |
@@ -17,7 +17,7 @@ TEST(CheckEqualsZeroAndMinusZero) { |
TEST(CheckEqualsReflexivity) { |
double inf = V8_INFINITY; |
- double nan = v8::base::OS::nan_value(); |
+ double nan = std::numeric_limits<double>::quiet_NaN(); |
double constants[] = {-nan, -inf, -3.1415, -1.0, -0.1, -0.0, |
0.0, 0.1, 1.0, 3.1415, inf, nan}; |
for (size_t i = 0; i < arraysize(constants); ++i) { |