Function compiler_builtins::int::specialized_div_rem::u128_by_u64_div_rem
source · unsafe fn u128_by_u64_div_rem(duo: u128, div: u64) -> (u64, u64)
Expand description
Divides duo
by div
and returns a tuple of the quotient and the remainder.
Safety
If the quotient does not fit in a u64
, a floating point exception occurs.
If div == 0
, then a division by zero exception occurs.