lexical_util::step

Function u64_step

Source
pub const fn u64_step(radix: u32) -> usize
Expand description

Calculate the number of digits that can be processed without overflowing a u64. Helper function since this is used for 128-bit division.