pub const fn digit_count(n: u16) -> usize
Number of decimal digits in a u16. Branchy table — faster than ilog10 on the small range we feed it (cursor coordinates, repeat counts).
u16
ilog10