[−][src]Function specialized_div_rem::u64_div_rem_binary_long
pub fn u64_div_rem_binary_long(duo: u64, div: u64) -> (u64, u64)
Computes the quotient and remainder of duo
divided by div
and returns them as a
tuple.
This uses binary shift long division only, and is designed for CPUs without fast multiplication or division hardware.
Panics
When attempting to divide by zero, this function will panic.