Lines Matching refs:gcd
131 final BigInteger gcd = num.gcd(den);132 if (BigInteger.ONE.compareTo(gcd) < 0) {133 num = num.divide(gcd);134 den = den.divide(gcd);1021 final BigInteger gcd = numerator.gcd(denominator);1022 return new BigFraction(numerator.divide(gcd), denominator.divide(gcd));