Пример #1
0
 private static Rational <BigInteger> Divide(Rational <BigInteger> a, Rational <BigInteger> b)
 {
     return(Simplify(Multiply(a, new Rational <BigInteger>(b.Denominator, b.Numerator))));
 }
Пример #2
0
 private static Rational <long> Divide(Rational <long> a, Rational <long> b)
 {
     return(Simplify(Multiply(a, new Rational <long>(b.Denominator, b.Numerator))));
 }
Пример #3
0
 public static bool TryParse(string value, out Rational <T> result)
 {
     throw new NotImplementedException();
 }