mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-28 17:40:25 +00:00
Merge branch 'ximinez/number-round-maxrep-down' into ximinez/number-round-maxrep
This commit is contained in:
@@ -127,6 +127,7 @@ struct MantissaRange final
|
||||
using rep = std::uint64_t;
|
||||
|
||||
enum class MantissaScale {
|
||||
// NOLINTBEGIN(readability-enum-initial-value) - The values don't matter, except for Large
|
||||
// Small can be removed when either featureSingleAssetVault or featureLendingProtocol are
|
||||
// retired
|
||||
Small,
|
||||
@@ -140,6 +141,7 @@ struct MantissaRange final
|
||||
// in the extremely unlikely case that a downstream project made use of it. Note that
|
||||
// because the behavior changed, this may still be a breaking change.
|
||||
Large = Large330,
|
||||
// NOLINTEND(readability-enum-initial-value)
|
||||
};
|
||||
|
||||
// This entire enum can be removed when the last relevant amendment is retired
|
||||
@@ -178,7 +180,7 @@ struct MantissaRange final
|
||||
return kScales;
|
||||
}
|
||||
|
||||
class Get
|
||||
class Access
|
||||
{
|
||||
static constexpr MantissaRange const&
|
||||
mantissaRange(MantissaScale scale);
|
||||
|
||||
Reference in New Issue
Block a user