[][src]Function specialized_div_rem::i8_div_rem_binary_long

pub fn i8_div_rem_binary_long(duo: i8, div: i8) -> (i8, i8)

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.