From 27456fa439ef283bfa2f2304640f725a804f69c3 Mon Sep 17 00:00:00 2001 From: Ed Hennis Date: Tue, 26 May 2026 15:50:31 -0400 Subject: [PATCH] Use the local range instead of calling a function --- src/libxrpl/basics/Number.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libxrpl/basics/Number.cpp b/src/libxrpl/basics/Number.cpp index 0a22d439ea..cd89e163d3 100644 --- a/src/libxrpl/basics/Number.cpp +++ b/src/libxrpl/basics/Number.cpp @@ -879,7 +879,7 @@ Number::operator/=(Number const& y) // * largeRange.log = 18, fits in 10^19 // * The expanded numerator must fit in 10^38 // * f can be up to 10^(38-19) = 10^19 safely - bool const small = Number::getMantissaScale() == MantissaRange::MantissaScale::Small; + bool const small = range.scale == MantissaRange::MantissaScale::Small; auto const factorExponent = small ? 17 : 19; uint128_t const f = getPower10(factorExponent);