Home
last modified time | relevance | path

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

/external/cldr/tools/java/org/unicode/cldr/tool/
DGeneratePluralRanges.java131 Output<FixedDecimal> minSample = new Output<FixedDecimal>(); in getRangeInfo() local
147 if (!pluralInfo.rangeExists(s, e, minSample, maxSample)) { in getRangeInfo()
151 String minFormatted = format(nf, minSample.value); in getRangeInfo()
157 minSample.value, in getRangeInfo()
191 public static String format(DecimalFormat nf, FixedDecimal minSample) { in format() argument
192 nf.setMinimumFractionDigits(minSample.getVisibleDecimalDigitCount()); in format()
193 nf.setMaximumFractionDigits(minSample.getVisibleDecimalDigitCount()); in format()
194 return nf.format(minSample); in format()
313 Output<FixedDecimal> minSample = new Output<FixedDecimal>(); in minimize() local
316 if (!pluralInfo.rangeExists(s, e, minSample, maxSample)) { in minimize()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestSupplementalInfo.java159 Output<FixedDecimal> minSample = new Output<FixedDecimal>(); in TestPluralRanges() local
178 pluralInfo.rangeExists(start, end, minSample, maxSample); in TestPluralRanges()
179 … final String rangeLine = getRangeLine(start, end, null, maxSample, minSample, samplePatterns); in TestPluralRanges()
236 minSample, maxSample); in TestPluralRanges()
238 …l String rangeLine = getRangeLine(start, end, explicitValue, maxSample, minSample, samplePatterns); in TestPluralRanges()
264 Output<FixedDecimal> maxSample, Output<FixedDecimal> minSample, in getRangeLine() argument
266 final String range = minSample + "–" + maxSample; in getRangeLine()
/external/cldr/tools/java/org/unicode/cldr/util/
DSupplementalDataInfo.java3574 …public boolean rangeExists(Count s, Count e, Output<FixedDecimal> minSample, Output<FixedDecimal> …
3579minSample.value = getLeastIn(s, SampleType.INTEGER, NEGATIVE_INFINITY, POSITIVE_INFINITY);
3581 if (lessOrFewerDecimals(temp, minSample.value)) {
3582 minSample.value = temp;
3590 if (doubleValue(minSample.value) >= doubleValue(maxSample.value)) {
3595 FixedDecimal lowestMax = new FixedDecimal(doubleValue(minSample.value) + 0.00001, 5);