Function revm::primitives::alloy_primitives::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 divisor and numerator to be at least two limbs, and
  • numerator is at least as long as divisor.

§Panics

May panic if the above requirements are not met.