Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Ddcfmapts.cpp633 ASSERT_EQUAL(456, fd.decimalDigits); // f in TestFixedDecimal()
643 ASSERT_EQUAL(456, fd.decimalDigits); // f in TestFixedDecimal()
655 ASSERT_EQUAL(456, fd.decimalDigits); // f in TestFixedDecimal()
665 ASSERT_EQUAL(456, fd.decimalDigits); // f in TestFixedDecimal()
678 ASSERT_EQUAL(46, fd.decimalDigits); // f in TestFixedDecimal()
688 ASSERT_EQUAL(46, fd.decimalDigits); // f in TestFixedDecimal()
702 ASSERT_EQUAL(20, fd.decimalDigits); // f in TestFixedDecimal()
712 ASSERT_EQUAL(20, fd.decimalDigits); // f in TestFixedDecimal()
724 ASSERT_EQUAL(0, fd.decimalDigits); in TestFixedDecimal()
735 ASSERT_EQUAL(0, fd.decimalDigits); in TestFixedDecimal()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpField.java173 public DfpField(final int decimalDigits) { in DfpField() argument
174 this(decimalDigits, true); in DfpField()
188 private DfpField(final int decimalDigits, final boolean computeConstants) { in DfpField() argument
190 this.radixDigits = (decimalDigits < 13) ? 4 : (decimalDigits + 3) / 4; in DfpField()
205 computeStringConstants((decimalDigits < 67) ? 200 : (3 * decimalDigits)); in DfpField()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
DPeriodFormatterData.java389 int decimalDigits, StringBuffer sb) { in appendCountValue() argument
391 if (decimalDigits == 0) { in appendCountValue()
401 if (decimalDigits == 1) { in appendCountValue()
403 } else if (decimalDigits == 2) { in appendCountValue()
407 appendDigits(dval, decimalDigits, decimalDigits, sb); in appendCountValue()
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/
DPeriodFormatterData.java391 int decimalDigits, StringBuffer sb) { in appendCountValue() argument
393 if (decimalDigits == 0) { in appendCountValue()
403 if (decimalDigits == 1) { in appendCountValue()
405 } else if (decimalDigits == 2) { in appendCountValue()
409 appendDigits(dval, decimalDigits, decimalDigits, sb); in appendCountValue()
/external/messageformat/java/com/ibm/icu/simple/
DPluralRules.java439 public final long decimalDigits; field in PluralRules.FixedDecimal
499 return decimalDigits; in getDecimalDigits()
562 decimalDigits = f; in FixedDecimal()
714 case f: return decimalDigits; in get()
746 long diff = decimalDigits - other.decimalDigits; in compareTo()
770 …visibleDecimalDigitCount == other.visibleDecimalDigitCount && decimalDigits == other.decimalDigits; in equals()
781 return (int)(decimalDigits + 37 * (visibleDecimalDigitCount + (int)(37 * source))); in hashCode()
850 return integerValue * baseFactor + decimalDigits; in getShiftedValue()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRules.java457 public final long decimalDigits; field in PluralRules.FixedDecimal
525 return decimalDigits; in getDecimalDigits()
594 decimalDigits = f; in FixedDecimal()
755 case f: return decimalDigits; in get()
790 long diff = decimalDigits - other.decimalDigits; in compareTo()
815 …visibleDecimalDigitCount == other.visibleDecimalDigitCount && decimalDigits == other.decimalDigits; in equals()
827 return (int)(decimalDigits + 37 * (visibleDecimalDigitCount + (int)(37 * source))); in hashCode()
903 return integerValue * baseFactor + decimalDigits; in getShiftedValue()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralRules.java456 public final long decimalDigits; field in PluralRules.FixedDecimal
516 return decimalDigits; in getDecimalDigits()
579 decimalDigits = f; in FixedDecimal()
734 case f: return decimalDigits; in get()
767 long diff = decimalDigits - other.decimalDigits; in compareTo()
791 …visibleDecimalDigitCount == other.visibleDecimalDigitCount && decimalDigits == other.decimalDigits; in equals()
802 return (int)(decimalDigits + 37 * (visibleDecimalDigitCount + (int)(37 * source))); in hashCode()
871 return integerValue * baseFactor + decimalDigits; in getShiftedValue()
/external/icu/icu4c/source/i18n/
Dplurrule.cpp1389 source, intValue, decimalDigits, in FixedDecimal()
1453 decimalDigits = other.decimalDigits; in FixedDecimal()
1483 decimalDigits = f; in init()
1582 if (decimalDigits >= 100000000000000000LL) { in adjustForMinFractionDigits()
1585 decimalDigits *= 10; in adjustForMinFractionDigits()
1596 case tVariableF: return (double)decimalDigits; in get()
Dplurrule_impl.h214 int64_t decimalDigits; variable
Ddecimfmtimpl.cpp526 result.source, result.intValue, result.decimalDigits, in initFixedDecimal()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java75 assertEquals(testDouble[0] + " decimalDigits", (int) testDouble[1], fd.decimalDigits); in testOverUnderflow()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralRulesTest.java76 assertEquals(testDouble[0] + " decimalDigits", (int) testDouble[1], fd.decimalDigits); in testOverUnderflow()
/external/icu/icu4j/tools/build/
Dicu4j52.api3.gz
Dicu4j53.api3.gz
Dicu4j57.api3.gz
Dicu4j54.api3.gz
Dicu4j55.api3.gz
Dicu4j56.api3.gz12;ICU4J 56.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j58.api3.gz12;ICU4J 58.1;; 2ST@3.6;PB;NS;NF;NS; ...