Function div_nx2
pub unsafe fn div_nx2(limbs: &mut [u64], divisor: u128) -> u128Expand description
⚠️ Compute double limb division.
⚠️ This function is not part of the stable API.
Same as [`div_nx2_normalized`] but does the shifting of the numerator
inline.
§Safety
- The highest limb of
numeratormust be nonzero. - The divisor’s high word is non-zero (i.e., divisor >= $2^{64}$).
In debug, may panic if any condition of use is violated. In release, may panic or trigger UB if any condition of use is violated.