/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/ |
D | MathContext.java | 190 public static final int ROUND_HALF_EVEN=6; field in MathContext 311 …P,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EVEN,ROUND_UP};
|
D | BigDecimal.java | 297 public static final int ROUND_HALF_EVEN = com.ibm.icu.math.MathContext.ROUND_HALF_EVEN; field in BigDecimal 3691 } else if (mode == ROUND_HALF_EVEN) { // 0.5000 goes down if left digit even in round()
|
/external/icu/android_icu4j/src/main/java/android/icu/math/ |
D | MathContext.java | 182 public static final int ROUND_HALF_EVEN=6; field in MathContext 300 …P,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EVEN,ROUND_UP};
|
D | BigDecimal.java | 291 public static final int ROUND_HALF_EVEN = android.icu.math.MathContext.ROUND_HALF_EVEN; field in BigDecimal 3618 } else if (mode == ROUND_HALF_EVEN) { // 0.5000 goes down if left digit even in round()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
D | MathContext.java | 190 public static final int ROUND_HALF_EVEN=6; field in MathContext 311 …P,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EVEN,ROUND_UP};
|
D | BigDecimal.java | 299 public static final int ROUND_HALF_EVEN = com.ibm.icu.math.MathContext.ROUND_HALF_EVEN; field in BigDecimal 3693 } else if (mode == ROUND_HALF_EVEN) { // 0.5000 goes down if left digit even in round()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | NumberFormatICU.java | 123 case com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN: in getRoundingMode() 216 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN); in setRoundingMode()
|
D | DecimalFormatICU.java | 212 case com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN: in getRoundingMode() 374 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN); in setRoundingMode()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
D | NumberFormatJDK.java | 160 icuMode = BigDecimal.ROUND_HALF_EVEN; in getRoundingMode() 265 case BigDecimal.ROUND_HALF_EVEN: in setRoundingMode()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
D | DfpField.java | 46 ROUND_HALF_EVEN, enumConstant 191 this.rMode = RoundingMode.ROUND_HALF_EVEN; in DfpField()
|
D | DfpDec.java | 233 case ROUND_HALF_EVEN: in round()
|
D | Dfp.java | 917 return trunc(DfpField.RoundingMode.ROUND_HALF_EVEN); in rint() 1015 case ROUND_HALF_EVEN: in trunc() 1349 case ROUND_HALF_EVEN: in round()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/ |
D | DiagBigDecimal.java | 940 …")).ok = android.icu.math.BigDecimal.ROUND_HALF_EVEN == (constantVal = android.icu.math.MathContex… in diagmutation() 1418 …text(2,android.icu.math.MathContext.SCIENTIFIC,false,android.icu.math.MathContext.ROUND_HALF_EVEN); in diagdivide() 1561 ….math.BigDecimal("0.045")).divide(one,2,android.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide() 1562 ….math.BigDecimal("0.045")).divide(one,1,android.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide() 1563 ….math.BigDecimal("0.045")).divide(one,0,android.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide() 1564 ….math.BigDecimal("0.050")).divide(one,2,android.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide() 1565 ….math.BigDecimal("0.050")).divide(one,1,android.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide() 1566 ….math.BigDecimal("0.050")).divide(one,0,android.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide() 1567 ….math.BigDecimal("0.150")).divide(one,2,android.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide() 1568 ….math.BigDecimal("0.150")).divide(one,1,android.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | RbnfTest.java | 1592 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN); in TestRounding() 1609 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN); in TestRounding()
|
D | NumberFormatTestTuple.java | 139 roundingModeMap.put("halfEven", BigDecimal.ROUND_HALF_EVEN);
|
D | NumberFormatTest.java | 464 BigDecimal.ROUND_HALF_EVEN, in TestRoundingScientific10542() 571 {BigDecimal.ROUND_HALF_EVEN, 2.5, "2"}, in Test10419RoundingWith0FractionDigits() 2513 for (int mode = BigDecimal.ROUND_UP; mode < BigDecimal.ROUND_HALF_EVEN; ++mode) { in TestRounding()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | RbnfTest.java | 1588 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN); in TestRounding() 1605 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN); in TestRounding()
|
D | NumberFormatTestTuple.java | 138 roundingModeMap.put("halfEven", BigDecimal.ROUND_HALF_EVEN);
|
D | NumberFormatTest.java | 460 BigDecimal.ROUND_HALF_EVEN, in TestRoundingScientific10542() 567 {BigDecimal.ROUND_HALF_EVEN, 2.5, "2"}, in Test10419RoundingWith0FractionDigits() 2509 for (int mode = BigDecimal.ROUND_UP; mode < BigDecimal.ROUND_HALF_EVEN; ++mode) { in TestRounding()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/ |
D | DiagBigDecimal.java | 936 …")).ok = com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN == (constantVal = com.ibm.icu.math.MathContex… in diagmutation() 1414 …text(2,com.ibm.icu.math.MathContext.SCIENTIFIC,false,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN); in diagdivide() 1557 ….math.BigDecimal("0.045")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide() 1558 ….math.BigDecimal("0.045")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide() 1559 ….math.BigDecimal("0.045")).divide(one,0,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide() 1560 ….math.BigDecimal("0.050")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide() 1561 ….math.BigDecimal("0.050")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide() 1562 ….math.BigDecimal("0.050")).divide(one,0,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide() 1563 ….math.BigDecimal("0.150")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide() 1564 ….math.BigDecimal("0.150")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DecimalFormat.java | 903 …onentialNotation && precision > 0 && number != 0.0 && roundingMode != BigDecimal.ROUND_HALF_EVEN) { in format() 1041 case BigDecimal.ROUND_HALF_EVEN: in round() 5081 roundingMode = BigDecimal.ROUND_HALF_EVEN; in applyPatternWithoutExpandAffix() 5464 roundingMode = BigDecimal.ROUND_HALF_EVEN; in readObject() 5724 private int roundingMode = BigDecimal.ROUND_HALF_EVEN; 6114 if (roundingMode == BigDecimal.ROUND_HALF_EVEN || isScientificNotation()) { in resetActualRounding()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | MathUtils.java | 1568 case BigDecimal.ROUND_HALF_EVEN : { 1611 "ROUND_HALF_EVEN", BigDecimal.ROUND_HALF_EVEN,
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DecimalFormat.java | 908 …onentialNotation && precision > 0 && number != 0.0 && roundingMode != BigDecimal.ROUND_HALF_EVEN) { in format() 1046 case BigDecimal.ROUND_HALF_EVEN: in round() 5152 roundingMode = BigDecimal.ROUND_HALF_EVEN; in applyPatternWithoutExpandAffix() 5551 roundingMode = BigDecimal.ROUND_HALF_EVEN; in readObject() 5820 private int roundingMode = BigDecimal.ROUND_HALF_EVEN; 6219 if (roundingMode == BigDecimal.ROUND_HALF_EVEN || isScientificNotation()) { in resetActualRounding()
|
/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,
|