Function ruint::algorithms::div::div_nxm
source · pub fn div_nxm(numerator: &mut [u64], divisor: &mut [u64])Expand description
⚠️ In-place Knuth long division with implicit normalization and reciprocals.
Requires
- the highest limb of the divisor to be non-zero,
- the
divisorandnumeratorto be at least two limbs, and numeratoris at least as long asdivisor.
Panics
May panic if the above requirements are not met.