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);
}

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

Loading content...

Required methods

fn div_rem_euclid(self, rhs: Rhs) -> (Self::OutputDiv, Self::OutputRem)[src]

Loading content...

Implementors

Loading content...