pub trait DivRem<Rhs = Self> {
    type OutputDiv;
    type OutputRem;

    fn div_rem(self, rhs: Rhs) -> (Self::OutputDiv, Self::OutputRem);
}
Expand description

Compute quotient and remainder at the same time.

Example

assert_eq!(ubig!(23).div_rem(ubig!(10)), (ubig!(2), ubig!(3)));

Required Associated Types

Required Methods

Implementors