Trait ibig::ops::DivRemEuclid[][src]

pub trait DivRemEuclid<Rhs = Self> {
    type OutputDiv;
    type OutputRem;
    fn div_rem_euclid(self, rhs: Rhs) -> (Self::OutputDiv, Self::OutputRem);
}
Expand description

Compute Euclidean quotient and remainder at the same time.

Example

assert_eq!(ibig!(-23).div_rem_euclid(ibig!(10)), (ibig!(-3), ibig!(7)));

Associated Types

Required methods

Implementors