Function lexical_util::div128::fast_u128_divrem

source ยท
pub fn fast_u128_divrem(
    n: u128,
    d: u64,
    fast: u128,
    fast_shr: u32,
    factor: u128,
    factor_shr: u32,
) -> (u128, u64)
Expand description

Fast division/remainder algorithm for u128, without a fast native approximation.