Index: src/double.h |
=================================================================== |
--- src/double.h (revision 4092) |
+++ src/double.h (working copy) |
@@ -46,7 +46,7 @@ |
V8_2PART_UINT64_C(0x000FFFFF, FFFFFFFF); |
static const uint64_t kHiddenBit = V8_2PART_UINT64_C(0x00100000, 00000000); |
- Double() : d64_(0.0) {} |
+ Double() : d64_(0) {} |
explicit Double(double d) : d64_(double_to_uint64(d)) {} |
explicit Double(uint64_t d64) : d64_(d64) {} |
@@ -82,7 +82,7 @@ |
if (IsDenormal()) return kDenormalExponent; |
uint64_t d64 = AsUint64(); |
- int biased_e = (d64 & kExponentMask) >> kSignificandSize; |
+ int biased_e = static_cast<int>((d64 & kExponentMask) >> kSignificandSize); |
return biased_e - kExponentBias; |
} |