Home
last modified time | relevance | path

Searched refs:newDenominator (Results 1 – 1 of 1) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DRational.java309 final BigInteger newDenominator = minimalDenominator(newNumerator, denominator); in toString() local
311 final String denStr = nf.format(newDenominator).toString(); in toString()
312 final boolean denIsOne = newDenominator.equals(BigInteger.ONE); in toString()
395 BigInteger newDenominator = denominator; in minimalDenominator() local
396 while (newDenominator.mod(BI_TWO).equals(BigInteger.ZERO)) { in minimalDenominator()
397 newDenominator = newDenominator.divide(BI_TWO); in minimalDenominator()
400 BigInteger outDenominator = newDenominator; in minimalDenominator()
401 while (newDenominator.mod(BI_FIVE).equals(BigInteger.ZERO)) { in minimalDenominator()
402 newDenominator = newDenominator.divide(BI_FIVE); in minimalDenominator()
405 return newDenominator; in minimalDenominator()
[all …]