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

Unified Diff: src/base/math.h

Issue 863633002: Use signaling NaN for holes in fixed double arrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Next bunch of fixes 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
Index: src/base/math.h
diff --git a/src/base/math.h b/src/base/math.h
new file mode 100644
index 0000000000000000000000000000000000000000..ef8612177846151a13195c1fc9133d6e1e2adfab
--- /dev/null
+++ b/src/base/math.h
@@ -0,0 +1,19 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef V8_BASE_MATH_H_
+#define V8_BASE_MATH_H_
+
+namespace v8 {
+namespace base {
+
+bool IsQuietNaN(float x);
+bool IsQuietNaN(double x);
+bool IsSignalingNaN(float x);
+bool IsSignalingNaN(double x);
+
+} // namespace base
+} // namespace v8
+
+#endif // V8_BASE_MATH_H_

Powered by Google App Engine
This is Rietveld 408576698