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

Unified Diff: src/types.cc

Issue 864803002: Remove deprecated v8::base::OS::nan_value(). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix invalid test expectation. Created 5 years, 11 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/third_party/fdlibm/fdlibm.cc ('k') | test/cctest/compiler/codegen-tester.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/types.cc
diff --git a/src/types.cc b/src/types.cc
index c7bd5cbfeca61d58c74eee3a93558fdc6c76408c..4f4b7fbcc27604920b3624dcd3c7a9194c0015bb 100644
--- a/src/types.cc
+++ b/src/types.cc
@@ -343,7 +343,7 @@ double TypeImpl<Config>::BitsetType::Min(bitset bits) {
}
}
if (mz) return 0;
- return base::OS::nan_value();
+ return std::numeric_limits<double>::quiet_NaN();
}
@@ -363,7 +363,7 @@ double TypeImpl<Config>::BitsetType::Max(bitset bits) {
}
}
if (mz) return 0;
- return base::OS::nan_value();
+ return std::numeric_limits<double>::quiet_NaN();
}
« no previous file with comments | « src/third_party/fdlibm/fdlibm.cc ('k') | test/cctest/compiler/codegen-tester.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698