Crate specialized_div_rem[][src]

These division functions use a different type of long division than the binary long division typically used by software to divide integers larger than the size of the CPU hardware division.

Functions

i128_div_rem

Computes the quotient and remainder of duo divided by rem and returns them as a tuple.

i32_div_rem

Computes the quotient and remainder of duo divided by rem and returns them as a tuple.

i64_div_rem

Computes the quotient and remainder of duo divided by rem and returns them as a tuple.

u128_div_rem

Computes the quotient and remainder of duo divided by rem and returns them as a tuple.

u32_div_rem

Computes the quotient and remainder of duo divided by rem and returns them as a tuple.

u64_div_rem

Computes the quotient and remainder of duo divided by rem and returns them as a tuple.