public static BigFraction ToBigFraction(this BigInteger number) => BigFraction.New(number, 1);
public static BigFraction Reduce(this BigFraction fraction) { var gcd = Algebra.Gcd(fraction.Numerator, fraction.Denominator); return(new BigFraction(fraction.Numerator / gcd, fraction.Denominator / gcd)); }
// BigFractions.... public static BigFraction Invert(this BigFraction fraction) => BigFraction.New(fraction.Denominator, fraction.Numerator);