Index: src/conversions.h |
diff --git a/src/conversions.h b/src/conversions.h |
index 29262e53063ac5c6a74383dd12f5c19561b0c01a..c4838f2d21e462d475f0f2f98c16f61200038630 100644 |
--- a/src/conversions.h |
+++ b/src/conversions.h |
@@ -149,8 +149,7 @@ char* DoubleToRadixCString(double value, int radix); |
static inline bool IsMinusZero(double value) { |
- static const DoubleRepresentation minus_zero(-0.0); |
- return DoubleRepresentation(value) == minus_zero; |
+ return bit_cast<int64_t>(value) == bit_cast<int64_t>(-0.0); |
} |