Function lexical_util::div128::moderate_u128_divrem
source ยท pub fn moderate_u128_divrem(
n: u128,
d: u64,
factor: u128,
factor_shr: u32,
) -> (u128, u64)
Expand description
Fast division/remainder algorithm for u128, without a fast native approximation.