pub fn div(numerator: &mut [u64], divisor: &mut [u64])
Expand description

⚠️ Division with remainder.

Warning. This function is not part of the stable API.

The quotient is stored in the numerator and the remainder is stored in the divisor.

§Algorithm

It trims zeros from the numerator and divisor then solves the trivial cases directly, or dispatches to the div_nx1, div_nx2 or div_nxm functions.

§Panics

Panics if divisor is zero.