Searched refs:maxDenominator (Results 1 – 2 of 2) sorted by relevance
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
D | Fraction.java | 138 public Fraction(double value, int maxDenominator) in Fraction() argument 141 this(value, 0, maxDenominator, 100); in Fraction() 175 private Fraction(double value, double epsilon, int maxDenominator, int maxIterations) in Fraction() argument 214 … if (n < maxIterations && FastMath.abs(convergent - value) > epsilon && q2 < maxDenominator) { in Fraction() 230 if (q2 < maxDenominator) { in Fraction()
|
D | BigFraction.java | 269 final int maxDenominator, int maxIterations) in BigFraction() argument 309 (q2 < maxDenominator)) { in BigFraction() 325 if (q2 < maxDenominator) { in BigFraction() 351 public BigFraction(final double value, final int maxDenominator) in BigFraction() argument 353 this(value, 0, maxDenominator, 100); in BigFraction()
|