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

Unified Diff: test/cctest/test-checks.cc

Issue 798413003: Remove obsolete V8_INFINITY macro. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address Svens smiley. Created 6 years 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 | « test/cctest/test-assembler-arm64.cc ('k') | test/cctest/test-double.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-checks.cc
diff --git a/test/cctest/test-checks.cc b/test/cctest/test-checks.cc
index 79e87ddd0c8572d7bb531f8a8e64cd37a506d16c..ac68b2119305b1d08e52f14c1da5e0c7f617bfb7 100644
--- a/test/cctest/test-checks.cc
+++ b/test/cctest/test-checks.cc
@@ -16,7 +16,7 @@ TEST(CheckEqualsZeroAndMinusZero) {
TEST(CheckEqualsReflexivity) {
- double inf = V8_INFINITY;
+ double inf = std::numeric_limits<double>::infinity();
double nan = v8::base::OS::nan_value();
double constants[] = {-nan, -inf, -3.1415, -1.0, -0.1, -0.0,
0.0, 0.1, 1.0, 3.1415, inf, nan};
« no previous file with comments | « test/cctest/test-assembler-arm64.cc ('k') | test/cctest/test-double.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698