fn simplify(self) -> Self {
        let gcd = self.numerator.gcd(self.denominator);
        Self {
            minus: self.minus,
            numerator: self.numerator / gcd,
            denominator: self.denominator / gcd,
        }
    }
/// Reduce a fraction.
/// This function does *not* check zero denominator.
Reduce a fraction.
This function does *not* check zero denominator.
Reduce a fraction . This function does * not * check zero denominator .
fn simplify(self) -> Self {
        let gcd = self.numerator.gcd(self.denominator);
        Self {
            minus: self.minus,
            numerator: self.numerator / gcd,
            denominator: self.denominator / gcd,
        }
    }
fn simplify ( self ) -> Self { let gcd = self . numerator . gcd ( self . denominator ) ; Self { minus : self . minus , numerator : self . numerator / gcd , denominator : self . denominator / gcd , } }
Reduce a fraction.
Reduce a fraction .
self
self