mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
fixup! Step 1: Convert Number to use 128-bit numbers internally
This commit is contained in:
@@ -86,7 +86,7 @@ public:
|
||||
explicit constexpr Number() = default;
|
||||
|
||||
Number(rep mantissa);
|
||||
explicit Number(rep mantissa, int exponent);
|
||||
explicit Number(internalrep mantissa, int exponent);
|
||||
explicit constexpr Number(
|
||||
internalrep mantissa,
|
||||
int exponent,
|
||||
@@ -300,8 +300,6 @@ private:
|
||||
constexpr bool
|
||||
isnormal(MantissaRange const& range) const noexcept;
|
||||
|
||||
explicit Number(internalrep mantissa, int exponent);
|
||||
|
||||
friend Number
|
||||
root(Number f, unsigned d);
|
||||
friend Number
|
||||
@@ -318,12 +316,6 @@ inline constexpr Number::Number(
|
||||
{
|
||||
}
|
||||
|
||||
inline Number::Number(rep mantissa, int exponent)
|
||||
: mantissa_{mantissa}, exponent_{exponent}
|
||||
{
|
||||
normalize();
|
||||
}
|
||||
|
||||
inline Number::Number(internalrep mantissa, int exponent)
|
||||
: mantissa_{mantissa}, exponent_{exponent}
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user