From b31bb9c0dc51bcb80a1201f7cd94a3bf5e0ce7f6 Mon Sep 17 00:00:00 2001 From: JCW Date: Tue, 24 Mar 2026 16:23:40 +0000 Subject: [PATCH] Address PR comments Signed-off-by: JCW --- include/xrpl/basics/Number.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/include/xrpl/basics/Number.h b/include/xrpl/basics/Number.h index de72250e71..df098754af 100644 --- a/include/xrpl/basics/Number.h +++ b/include/xrpl/basics/Number.h @@ -257,26 +257,6 @@ public: constexpr int exponent() const noexcept; - /** Get the scale of this Number for the given asset. - * - * "scale" is similar to "exponent", but from the perspective of STAmount, - * which has different rules for determining the exponent than Number. - * - * Because Number does not have access to STAmount or Asset, this function - * is implemented as a template, with the expectation that it will only be - * used by those types. Any types that fit the requirements will work, - * though, if there's a need. - * - * @tparam STAmount The STAmount type. - * @tparam Asset The Asset type. - * @param asset The asset to use for determining the scale. - * @return The scale of this Number for the given asset. - */ - template - int - scale(Asset const& asset) const - requires CanUseAsScale; - constexpr Number operator+() const noexcept; constexpr Number