[−][src]Function ramp::ll::limb::div
pub fn div(nh: Limb, nl: Limb, d: Limb) -> (Limb, Limb)
Divides the two-limb numerator (nh, nl)
by d
, returning a single-limb
quotient, Q, and remainder, R, as (Q, R).
In order to ensure a single-limb result, the following conditions are required:
nh
<d
d
>= BASE/2