/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/ |
D | MathContext.java | 204 public static final int ROUND_HALF_UP=4; field in MathContext 303 private static final int DEFAULT_ROUNDINGMODE=ROUND_HALF_UP; 311 …private static final int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DO…
|
D | BigDecimal.java | 305 public static final int ROUND_HALF_UP = com.ibm.icu.math.MathContext.ROUND_HALF_UP; field in BigDecimal 2067 … return format(before, after, -1, -1, com.ibm.icu.math.MathContext.SCIENTIFIC, ROUND_HALF_UP); in format() 2176 if (exround != ROUND_HALF_UP) { in format() 2179 exround = ROUND_HALF_UP; in format() 3678 if (mode == ROUND_HALF_UP) { // default first [most common] in round()
|
/external/icu/android_icu4j/src/main/java/android/icu/math/ |
D | MathContext.java | 195 public static final int ROUND_HALF_UP=4; field in MathContext 292 private static final int DEFAULT_ROUNDINGMODE=ROUND_HALF_UP; 300 …private static final int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DO…
|
D | BigDecimal.java | 298 public static final int ROUND_HALF_UP = android.icu.math.MathContext.ROUND_HALF_UP; field in BigDecimal 2016 … return format(before, after, -1, -1, android.icu.math.MathContext.SCIENTIFIC, ROUND_HALF_UP); in format() 2124 if (exround != ROUND_HALF_UP) { in format() 2127 exround = ROUND_HALF_UP; in format() 3605 if (mode == ROUND_HALF_UP) { // default first [most common] in round()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
D | MathContext.java | 204 public static final int ROUND_HALF_UP=4; field in MathContext 303 private static final int DEFAULT_ROUNDINGMODE=ROUND_HALF_UP; 311 …private static final int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DO…
|
D | BigDecimal.java | 307 public static final int ROUND_HALF_UP = com.ibm.icu.math.MathContext.ROUND_HALF_UP; field in BigDecimal 2069 … return format(before, after, -1, -1, com.ibm.icu.math.MathContext.SCIENTIFIC, ROUND_HALF_UP); in format() 2178 if (exround != ROUND_HALF_UP) { in format() 2181 exround = ROUND_HALF_UP; in format() 3680 if (mode == ROUND_HALF_UP) { // default first [most common] in round()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | IntlTestDecimalFormatAPI.java | 60 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP); in testJB1871() 71 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP); in testJB1871() 84 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP); in testJB1871()
|
D | NumberFormatTestTuple.java | 140 roundingModeMap.put("halfUp", BigDecimal.ROUND_HALF_UP);
|
D | NumberFormatTest.java | 461 BigDecimal.ROUND_HALF_UP, in TestRoundingScientific10542() 568 {BigDecimal.ROUND_HALF_UP, 2.5, "3"}, in Test10419RoundingWith0FractionDigits() 2502 nf.setRoundingMode(BigDecimal.ROUND_HALF_UP); in TestRounding() 2585 f.setRoundingMode(BigDecimal.ROUND_HALF_UP); in TestBigDecimalRounding() 3666 df.setRoundingMode(MathContext.ROUND_HALF_UP); in TestNegZeroRounding()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | IntlTestDecimalFormatAPI.java | 64 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP); in testJB1871() 75 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP); in testJB1871() 88 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP); in testJB1871()
|
D | NumberFormatTestTuple.java | 141 roundingModeMap.put("halfUp", BigDecimal.ROUND_HALF_UP);
|
D | NumberFormatTest.java | 465 BigDecimal.ROUND_HALF_UP, in TestRoundingScientific10542() 572 {BigDecimal.ROUND_HALF_UP, 2.5, "3"}, in Test10419RoundingWith0FractionDigits() 2506 nf.setRoundingMode(BigDecimal.ROUND_HALF_UP); in TestRounding() 2589 f.setRoundingMode(BigDecimal.ROUND_HALF_UP); in TestBigDecimalRounding() 3670 df.setRoundingMode(MathContext.ROUND_HALF_UP); in TestNegZeroRounding()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | NumberFormatICU.java | 126 case com.ibm.icu.math.BigDecimal.ROUND_HALF_UP: in getRoundingMode() 218 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_UP); in setRoundingMode()
|
D | DecimalFormatICU.java | 215 case com.ibm.icu.math.BigDecimal.ROUND_HALF_UP: in getRoundingMode() 376 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_UP); in setRoundingMode()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | UniversalTimeScale.java | 474 return universal.divide(units, BigDecimal.ROUND_HALF_UP).subtract(epochOffset); in toBigDecimal() 491 return universalTime.divide(units, BigDecimal.ROUND_HALF_UP).subtract(epochOffset); in toBigDecimal()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | UniversalTimeScale.java | 522 return universal.divide(units, BigDecimal.ROUND_HALF_UP).subtract(epochOffset); in toBigDecimal() 541 return universalTime.divide(units, BigDecimal.ROUND_HALF_UP).subtract(epochOffset); in toBigDecimal()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
D | NumberFormatJDK.java | 162 icuMode = BigDecimal.ROUND_HALF_UP; in getRoundingMode() 268 case BigDecimal.ROUND_HALF_UP: in setRoundingMode()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/ |
D | DiagBigDecimal.java | 941 …15")).ok = android.icu.math.BigDecimal.ROUND_HALF_UP == (constantVal = android.icu.math.MathContex… in diagmutation() 948 …roid.icu.math.MathContext.DEFAULT.getRoundingMode()) == android.icu.math.MathContext.ROUND_HALF_UP; in diagmutation() 956 … (new Test("cuc033")).ok = (mc9.getRoundingMode()) == android.icu.math.MathContext.ROUND_HALF_UP; in diagmutation() 960 … (new Test("cuc037")).ok = (mcld.getRoundingMode()) == android.icu.math.MathContext.ROUND_HALF_UP; in diagmutation() 964 … (new Test("cuc041")).ok = (mcfd.getRoundingMode()) == android.icu.math.MathContext.ROUND_HALF_UP; in diagmutation() 1422 …ontext(2,android.icu.math.MathContext.SCIENTIFIC,false,android.icu.math.MathContext.ROUND_HALF_UP); in diagdivide() 1462 rhu = android.icu.math.MathContext.ROUND_HALF_UP; in diagdivide() 1574 …u.math.BigDecimal("0.045")).divide(one,2,android.icu.math.MathContext.ROUND_HALF_UP).toString()).e… in diagdivide() 1575 …u.math.BigDecimal("0.045")).divide(one,1,android.icu.math.MathContext.ROUND_HALF_UP).toString()).e… in diagdivide() 1576 …u.math.BigDecimal("0.045")).divide(one,0,android.icu.math.MathContext.ROUND_HALF_UP).toString()).e… in diagdivide() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/ |
D | DiagBigDecimal.java | 937 …15")).ok = com.ibm.icu.math.BigDecimal.ROUND_HALF_UP == (constantVal = com.ibm.icu.math.MathContex… in diagmutation() 944 ….ibm.icu.math.MathContext.DEFAULT.getRoundingMode()) == com.ibm.icu.math.MathContext.ROUND_HALF_UP; in diagmutation() 952 … (new Test("cuc033")).ok = (mc9.getRoundingMode()) == com.ibm.icu.math.MathContext.ROUND_HALF_UP; in diagmutation() 956 … (new Test("cuc037")).ok = (mcld.getRoundingMode()) == com.ibm.icu.math.MathContext.ROUND_HALF_UP; in diagmutation() 960 … (new Test("cuc041")).ok = (mcfd.getRoundingMode()) == com.ibm.icu.math.MathContext.ROUND_HALF_UP; in diagmutation() 1418 …ontext(2,com.ibm.icu.math.MathContext.SCIENTIFIC,false,com.ibm.icu.math.MathContext.ROUND_HALF_UP); in diagdivide() 1458 rhu = com.ibm.icu.math.MathContext.ROUND_HALF_UP; in diagdivide() 1570 …u.math.BigDecimal("0.045")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_HALF_UP).toString()).e… in diagdivide() 1571 …u.math.BigDecimal("0.045")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_HALF_UP).toString()).e… in diagdivide() 1572 …u.math.BigDecimal("0.045")).divide(one,0,com.ibm.icu.math.MathContext.ROUND_HALF_UP).toString()).e… in diagdivide() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | MathUtils.java | 1465 return round(x, scale, BigDecimal.ROUND_HALF_UP); 1505 return round(x, scale, BigDecimal.ROUND_HALF_UP); 1585 case BigDecimal.ROUND_HALF_UP : { 1612 "ROUND_HALF_UP", BigDecimal.ROUND_HALF_UP,
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
D | DfpDec.java | 225 case ROUND_HALF_UP: in round()
|
D | DfpField.java | 38 ROUND_HALF_UP, enumConstant
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | SerializableTest.java | 617 MathContext.ROUND_HALF_DOWN, MathContext.ROUND_HALF_EVEN, MathContext.ROUND_HALF_UP,
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | SerializableTest.java | 621 MathContext.ROUND_HALF_DOWN, MathContext.ROUND_HALF_EVEN, MathContext.ROUND_HALF_UP,
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
D | BigMatrixImpl.java | 85 private int roundingMode = BigDecimal.ROUND_HALF_UP;
|