Trait ibig::ops::DivRem [−][src]
pub trait DivRem<Rhs = Self> { type OutputDiv; type OutputRem; fn div_rem(self, rhs: Rhs) -> (Self::OutputDiv, Self::OutputRem); }
Compute quotient and remainder at the same time.
Example
assert_eq!(ubig!(23).div_rem(ubig!(10)), (ubig!(2), ubig!(3)));
Associated Types
Loading content...Required methods
Loading content...Implementors
Loading content...