pub trait GcdLcm {
type Output;
// Required methods
fn gcd(self, _: Self::Output) -> Self::Output;
fn lcm(self, _: Self::Output) -> Self::Output;
fn gcd_lcm(self, _: Self::Output) -> (Self::Output, Self::Output);
}
Expand description
最大公約数・最小公倍数