LibCrypto+LibJS: Remove {Signed,Unsigned}BigInteger to_base_deprecated

Use `to_base` instead.
This commit is contained in:
devgianlu 2025-04-21 12:13:50 +02:00 committed by Jelle Raaijmakers
commit a019efb24b
Notes: github-actions[bot] 2025-04-28 10:07:28 +00:00
8 changed files with 4 additions and 16 deletions

View file

@ -258,7 +258,7 @@ String BigFraction::to_string(unsigned rounding_threshold) const
auto const rounded_fraction = rounded(rounding_threshold);
// We take the unsigned value as we already manage the '-'
auto const full_value = rounded_fraction.m_numerator.unsigned_value().to_base_deprecated(10);
auto const full_value = MUST(rounded_fraction.m_numerator.unsigned_value().to_base(10)).to_byte_string();
int split = full_value.length() - (number_of_digits(rounded_fraction.m_denominator) - 1);
if (split < 0)