diff options
Diffstat (limited to 'mozglue/misc/decimal/Decimal.cpp')
-rw-r--r-- | mozglue/misc/decimal/Decimal.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/mozglue/misc/decimal/Decimal.cpp b/mozglue/misc/decimal/Decimal.cpp index 7d2bcfa712..e4db6a0f1e 100644 --- a/mozglue/misc/decimal/Decimal.cpp +++ b/mozglue/misc/decimal/Decimal.cpp @@ -239,11 +239,6 @@ Decimal::Decimal(int32_t i32) Decimal::Decimal(Sign sign, int exponent, uint64_t coefficient) : m_data(sign, coefficient ? exponent : 0, coefficient) {} -Decimal::Decimal(const EncodedData& data) - : m_data(data) -{ -} - Decimal::Decimal(const Decimal& other) : m_data(other.m_data) { @@ -853,11 +848,6 @@ Decimal Decimal::infinity(const Sign sign) return Decimal(EncodedData(sign, EncodedData::ClassInfinity)); } -Decimal Decimal::nan() -{ - return Decimal(EncodedData(Positive, EncodedData::ClassNaN)); -} - Decimal Decimal::remainder(const Decimal& rhs) const { const Decimal quotient = *this / rhs; |