pub trait DivEuclid<Rhs = Self> {
type Output;
// Required method
fn div_euclid(self, rhs: Rhs) -> Self::Output;
}
Expand description
Compute Euclidean quotient.
§Examples
use dashu_base::DivEuclid;
assert_eq!((-23).div_euclid(10), -3);