Function num_bigint_dig::algorithms::div_wide
source · [−]Expand description
Divide a two digit numerator by a one digit divisor, returns quotient and remainder:
Note: the caller must ensure that both the quotient and remainder will fit into a single digit. This is not true for an arbitrary numerator/denominator.
(This function also matches what the x86 divide instruction does).