/// <inheritdoc/> public bool Equals(SignedRational other) { var left = new LongRational(this.Numerator, this.Denominator); var right = new LongRational(other.Numerator, other.Denominator); return(left.Equals(right)); }
/// <inheritdoc/> public bool Equals(Rational other) { LongRational left = new LongRational(this.Numerator, this.Denominator); LongRational right = new LongRational(other.Numerator, other.Denominator); return(left.Equals(right)); }