reth::primitives::revm_primitives::alloy_primitives::ruint::algorithms::div

Function div_nx2

pub fn div_nx2(limbs: &mut [u64], divisor: u128) -> u128
Expand description

⚠️ Compute double limb division.

Requires divisor to be in the range $[2^{64}, 2^{128})$. Same as div_nx2_normalized but does the shifting of the numerator inline.

§Panics

May panics if the above requirements are not met.