Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 diff --git a/mfbt/decimal/Decimal.cpp b/mfbt/decimal/Decimal.cpp
2 --- a/mfbt/decimal/Decimal.cpp
3 +++ b/mfbt/decimal/Decimal.cpp
4 @@ -278,17 +278,17 @@ bool Decimal::EncodedData::operator==(co
5 }
7 Decimal::Decimal(int32_t i32)
8 : m_data(i32 < 0 ? Negative : Positive, 0, i32 < 0 ? static_cast<uint64_t>(-static_cast<int64_t>(i32)) : static_cast<uint64_t>(i32))
9 {
10 }
12 Decimal::Decimal(Sign sign, int exponent, uint64_t coefficient)
13 - : m_data(sign, exponent, coefficient)
14 + : m_data(sign, coefficient ? exponent : 0, coefficient)
15 {
16 }
18 Decimal::Decimal(const EncodedData& data)
19 : m_data(data)
20 {
21 }