Home
last modified time | relevance | path

Searched refs:ROUND_UNNECESSARY (Results 1 – 25 of 31) sorted by relevance

12

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
DMathContext.java216 public static final int ROUND_UNNECESSARY=7; field in MathContext
311 …private static final int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DO…
DBigDecimal.java313 public static final int ROUND_UNNECESSARY = com.ibm.icu.math.MathContext.ROUND_UNNECESSARY; field in BigDecimal
2629 return setScale(scale, ROUND_UNNECESSARY); in setScale()
3681 } else if (mode == ROUND_UNNECESSARY) { // default for setScale() in round()
/external/icu/android_icu4j/src/main/java/android/icu/math/
DMathContext.java206 public static final int ROUND_UNNECESSARY=7; field in MathContext
300 …private static final int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DO…
DBigDecimal.java305 public static final int ROUND_UNNECESSARY = android.icu.math.MathContext.ROUND_UNNECESSARY; field in BigDecimal
2568 return setScale(scale, ROUND_UNNECESSARY); in setScale()
3608 } else if (mode == ROUND_UNNECESSARY) { // default for setScale() in round()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DMathContext.java216 public static final int ROUND_UNNECESSARY=7; field in MathContext
311 …private static final int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DO…
DBigDecimal.java315 public static final int ROUND_UNNECESSARY = com.ibm.icu.math.MathContext.ROUND_UNNECESSARY; field in BigDecimal
2631 return setScale(scale, ROUND_UNNECESSARY); in setScale()
3683 } else if (mode == ROUND_UNNECESSARY) { // default for setScale() in round()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java129 case com.ibm.icu.math.BigDecimal.ROUND_UNNECESSARY: in getRoundingMode()
220 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UNNECESSARY); in setRoundingMode()
DDecimalFormatICU.java218 case com.ibm.icu.math.BigDecimal.ROUND_UNNECESSARY: in getRoundingMode()
378 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UNNECESSARY); in setRoundingMode()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java164 icuMode = BigDecimal.ROUND_UNNECESSARY; in getRoundingMode()
271 case BigDecimal.ROUND_UNNECESSARY: in setRoundingMode()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedNumberFormat.java601 private int roundingMode = BigDecimal.ROUND_UNNECESSARY;
1535 if (roundingMode < BigDecimal.ROUND_UP || roundingMode > BigDecimal.ROUND_UNNECESSARY) { in setRoundingMode()
1931 if (getRoundingMode() != BigDecimal.ROUND_UNNECESSARY) { in format()
DDecimalFormat.java1020 case BigDecimal.ROUND_UNNECESSARY: in round()
1126 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format()
1161 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format()
1195 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format()
1228 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format()
3509 if (roundingMode < BigDecimal.ROUND_UP || roundingMode > BigDecimal.ROUND_UNNECESSARY) {
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedNumberFormat.java598 private int roundingMode = BigDecimal.ROUND_UNNECESSARY;
1499 if (roundingMode < BigDecimal.ROUND_UP || roundingMode > BigDecimal.ROUND_UNNECESSARY) { in setRoundingMode()
1895 if (getRoundingMode() != BigDecimal.ROUND_UNNECESSARY) { in format()
DDecimalFormat.java1015 case BigDecimal.ROUND_UNNECESSARY: in round()
1120 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format()
1153 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format()
1185 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format()
1216 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format()
3477 if (roundingMode < BigDecimal.ROUND_UP || roundingMode > BigDecimal.ROUND_UNNECESSARY) {
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTestTuple.java142 roundingModeMap.put("unnecessary", BigDecimal.ROUND_UNNECESSARY);
DNumberFormatTest.java3867 Integer.valueOf(BigDecimal.ROUND_UNNECESSARY), in TestRoundingBehavior()
4418 df.setRoundingMode(BigDecimal.ROUND_UNNECESSARY);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTestTuple.java141 roundingModeMap.put("unnecessary", BigDecimal.ROUND_UNNECESSARY);
DNumberFormatTest.java3863 Integer.valueOf(BigDecimal.ROUND_UNNECESSARY), in TestRoundingBehavior()
4414 df.setRoundingMode(BigDecimal.ROUND_UNNECESSARY);
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DMathUtils.java1595 case BigDecimal.ROUND_UNNECESSARY :
1613 "ROUND_UNNECESSARY", BigDecimal.ROUND_UNNECESSARY,
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
DDiagBigDecimal.java942 …).ok = android.icu.math.BigDecimal.ROUND_UNNECESSARY == (constantVal = android.icu.math.MathContex… in diagmutation()
1531 ru=android.icu.math.MathContext.ROUND_UNNECESSARY; // check for some 0 residues in diagdivide()
1614 …divide(new android.icu.math.BigDecimal("5000"), 0, android.icu.math.MathContext.ROUND_UNNECESSARY); in diagdivide()
1622 …).divide(new android.icu.math.BigDecimal("10"), 0, android.icu.math.MathContext.ROUND_UNNECESSARY); in diagdivide()
1630 ….divide(new android.icu.math.BigDecimal("100"), 1, android.icu.math.MathContext.ROUND_UNNECESSARY); in diagdivide()
1640 android.icu.math.MathContext.ROUND_UNNECESSARY); in diagdivide()
1650 android.icu.math.MathContext.ROUND_UNNECESSARY); in diagdivide()
3387 …or121")).ok=(d000.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_UNNECESSARY)).equals("0.… in diagformat()
3388 …or122")).ok=(d000.format(-1,2,-1,-1,-1,android.icu.math.MathContext.ROUND_UNNECESSARY)).equals("0.… in diagformat()
3389 …or123")).ok=(d000.format(-1,3,-1,-1,-1,android.icu.math.MathContext.ROUND_UNNECESSARY)).equals("0.… in diagformat()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/
DDiagBigDecimal.java938 …).ok = com.ibm.icu.math.BigDecimal.ROUND_UNNECESSARY == (constantVal = com.ibm.icu.math.MathContex… in diagmutation()
1527 ru=com.ibm.icu.math.MathContext.ROUND_UNNECESSARY; // check for some 0 residues in diagdivide()
1610 …divide(new com.ibm.icu.math.BigDecimal("5000"), 0, com.ibm.icu.math.MathContext.ROUND_UNNECESSARY); in diagdivide()
1618 …).divide(new com.ibm.icu.math.BigDecimal("10"), 0, com.ibm.icu.math.MathContext.ROUND_UNNECESSARY); in diagdivide()
1626 ….divide(new com.ibm.icu.math.BigDecimal("100"), 1, com.ibm.icu.math.MathContext.ROUND_UNNECESSARY); in diagdivide()
1636 com.ibm.icu.math.MathContext.ROUND_UNNECESSARY); in diagdivide()
1646 com.ibm.icu.math.MathContext.ROUND_UNNECESSARY); in diagdivide()
3383 …or121")).ok=(d000.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_UNNECESSARY)).equals("0.… in diagformat()
3384 …or122")).ok=(d000.format(-1,2,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_UNNECESSARY)).equals("0.… in diagformat()
3385 …or123")).ok=(d000.format(-1,3,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_UNNECESSARY)).equals("0.… in diagformat()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DSerializableTest.java618 MathContext.ROUND_UNNECESSARY, MathContext.ROUND_UP};
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DSerializableTest.java622 MathContext.ROUND_UNNECESSARY, MathContext.ROUND_UP};
/external/icu/icu4j/tools/build/
Dicu4j48.api3.gz
Dicu4j49.api3.gz12;ICU4J 49.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j52.api3.gz

12