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

Unified Diff: src/core/SkMath.cpp

Issue 2233853002: constexpr NaN,+Inf,-Inf (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 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/core/SkLiteDL.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkMath.cpp
diff --git a/src/core/SkMath.cpp b/src/core/SkMath.cpp
index 1f671d3949bc39bb08cc14f1cb72255f2ef82c7d..6eff790c85c5c08e56ecda331426f2281ba8add4 100644
--- a/src/core/SkMath.cpp
+++ b/src/core/SkMath.cpp
@@ -11,10 +11,6 @@
#include "SkFloatingPoint.h"
#include "SkScalar.h"
-const uint32_t gIEEENotANumber = 0x7FFFFFFF;
-const uint32_t gIEEEInfinity = 0x7F800000;
-const uint32_t gIEEENegativeInfinity = 0xFF800000;
-
#define sub_shift(zeros, x, n) \
zeros -= n; \
x >>= n
« no previous file with comments | « src/core/SkLiteDL.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698