Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index 6c6966aee53194b1c85b8a9a2d7822a16b235860..d0c78d6e22b7e82a6289c69015fde7faa7d66f0e 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -255,6 +255,10 @@ const int kBinary32MinExponent = 0x01; |
const int kBinary32MantissaBits = 23; |
const int kBinary32ExponentShift = 23; |
+// Quiet NaNs have bits 51 to 62 set, possibly the sign bit, and no |
+// other bits set. |
+const uint64_t kQuietNaNMask = static_cast<uint64_t>(0xfff) << 51; |
+ |
// ASCII/UC16 constants |
// Code-point values in Unicode 4.0 are 21 bits wide. |
typedef uint16_t uc16; |