//! Moves the digits that reached the base to the next index.
usecrate::number::Digits;/// Moves to the next index every digit equal to or bigger than the base.
pub(crate)fnresolve_overflow(base:i32, number:&mut Digits){letmut n = number.lower;while n <= number.upper {if number.get(n)>= base {
number.update(n,-base);
number.update(n +1,1);}
n +=1;}}