/external/icu/android_icu4j/src/main/java/android/icu/math/ |
D | MathContext.java | 197 public static final int ROUND_HALF_UP=4; field in MathContext 294 private static final int DEFAULT_ROUNDINGMODE=ROUND_HALF_UP; 302 …private static final int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DO…
|
D | BigDecimal.java | 300 public static final int ROUND_HALF_UP = android.icu.math.MathContext.ROUND_HALF_UP; field in BigDecimal 2022 … return format(before, after, -1, -1, android.icu.math.MathContext.SCIENTIFIC, ROUND_HALF_UP); in format() 2130 if (exround != ROUND_HALF_UP) { in format() 2133 exround = ROUND_HALF_UP; in format() 3615 if (mode == ROUND_HALF_UP) { // default first [most common] in round()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/ |
D | MathContext.java | 206 public static final int ROUND_HALF_UP=4; field in MathContext 305 private static final int DEFAULT_ROUNDINGMODE=ROUND_HALF_UP; 313 …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/classes/core/src/com/ibm/icu/math/ |
D | MathContext.java | 206 public static final int ROUND_HALF_UP=4; field in MathContext 305 private static final int DEFAULT_ROUNDINGMODE=ROUND_HALF_UP; 313 …private static final int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DO…
|
D | BigDecimal.java | 309 public static final int ROUND_HALF_UP = com.ibm.icu.math.MathContext.ROUND_HALF_UP; field in BigDecimal 2075 … return format(before, after, -1, -1, com.ibm.icu.math.MathContext.SCIENTIFIC, ROUND_HALF_UP); in format() 2184 if (exround != ROUND_HALF_UP) { in format() 2187 exround = ROUND_HALF_UP; in format() 3690 if (mode == ROUND_HALF_UP) { // default first [most common] in round()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | quantize_and_dequantize_op.cc | 35 ROUND_HALF_UP, enumerator 141 case ROUND_HALF_UP: { in Compile() 174 round_mode_ = ROUND_HALF_UP; in QuantizeAndDequantizeV2Op()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | quantize_and_dequantize_op.h | 31 ROUND_HALF_UP, enumerator 72 case ROUND_HALF_UP: in ClampScaleAndRound() 97 case ROUND_HALF_UP: in ScaleAndRound()
|
D | quantize_and_dequantize_op.cc | 63 round_mode_ = ROUND_HALF_UP; in QuantizeAndDequantizeV2Op()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | IntlTestDecimalFormatAPI.java | 68 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP); in testJB1871() 78 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP); in testJB1871() 91 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP); in testJB1871()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | IntlTestDecimalFormatAPI.java | 65 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()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | NumberFormatICU.java | 128 case com.ibm.icu.math.BigDecimal.ROUND_HALF_UP: in getRoundingMode() 220 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_UP); in setRoundingMode()
|
D | DecimalFormatICU.java | 217 case com.ibm.icu.math.BigDecimal.ROUND_HALF_UP: in getRoundingMode() 378 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 | 477 return universal.divide(units, BigDecimal.ROUND_HALF_UP).subtract(epochOffset); in toBigDecimal() 494 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 | 525 return universal.divide(units, BigDecimal.ROUND_HALF_UP).subtract(epochOffset); in toBigDecimal() 544 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 | 164 icuMode = BigDecimal.ROUND_HALF_UP; in getRoundingMode() 270 case BigDecimal.ROUND_HALF_UP: in setRoundingMode()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPathMeasure.java | 55 bd = bd.setScale(decimalPlace, BigDecimal.ROUND_HALF_UP); in round()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/ |
D | DiagBigDecimalTest.java | 717 …("cuc015", android.icu.math.BigDecimal.ROUND_HALF_UP == (constantVal = android.icu.math.MathContex… in diagmutation() 724 …oid.icu.math.MathContext.DEFAULT.getRoundingMode()) == android.icu.math.MathContext.ROUND_HALF_UP); in diagmutation() 732 …stFmwk.assertTrue("cuc033", (mc9.getRoundingMode()) == android.icu.math.MathContext.ROUND_HALF_UP); in diagmutation() 736 …tFmwk.assertTrue("cuc037", (mcld.getRoundingMode()) == android.icu.math.MathContext.ROUND_HALF_UP); in diagmutation() 740 …tFmwk.assertTrue("cuc041", (mcfd.getRoundingMode()) == android.icu.math.MathContext.ROUND_HALF_UP); in diagmutation() 1198 …ontext(2,android.icu.math.MathContext.SCIENTIFIC,false,android.icu.math.MathContext.ROUND_HALF_UP); in diagdivide() 1238 rhu = android.icu.math.MathContext.ROUND_HALF_UP; in diagdivide() 1350 …u.math.BigDecimal("0.045")).divide(one,2,android.icu.math.MathContext.ROUND_HALF_UP).toString()).e… in diagdivide() 1351 …u.math.BigDecimal("0.045")).divide(one,1,android.icu.math.MathContext.ROUND_HALF_UP).toString()).e… in diagdivide() 1352 …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 | DiagBigDecimalTest.java | 714 …("cuc015", com.ibm.icu.math.BigDecimal.ROUND_HALF_UP == (constantVal = com.ibm.icu.math.MathContex… in diagmutation() 721 …ibm.icu.math.MathContext.DEFAULT.getRoundingMode()) == com.ibm.icu.math.MathContext.ROUND_HALF_UP); in diagmutation() 729 …stFmwk.assertTrue("cuc033", (mc9.getRoundingMode()) == com.ibm.icu.math.MathContext.ROUND_HALF_UP); in diagmutation() 733 …tFmwk.assertTrue("cuc037", (mcld.getRoundingMode()) == com.ibm.icu.math.MathContext.ROUND_HALF_UP); in diagmutation() 737 …tFmwk.assertTrue("cuc041", (mcfd.getRoundingMode()) == com.ibm.icu.math.MathContext.ROUND_HALF_UP); in diagmutation() 1195 …ontext(2,com.ibm.icu.math.MathContext.SCIENTIFIC,false,com.ibm.icu.math.MathContext.ROUND_HALF_UP); in diagdivide() 1235 rhu = com.ibm.icu.math.MathContext.ROUND_HALF_UP; in diagdivide() 1347 …u.math.BigDecimal("0.045")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_HALF_UP).toString()).e… in diagdivide() 1348 …u.math.BigDecimal("0.045")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_HALF_UP).toString()).e… in diagdivide() 1349 …u.math.BigDecimal("0.045")).divide(one,0,com.ibm.icu.math.MathContext.ROUND_HALF_UP).toString()).e… in diagdivide() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | RoundingUtils.java | 79 case BigDecimal.ROUND_HALF_UP: in getRoundingDirection()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | RoundingUtils.java | 77 case BigDecimal.ROUND_HALF_UP: in getRoundingDirection()
|
/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()
|
/external/python/cpython3/Modules/_decimal/tests/ |
D | deccheck.py | 161 C.ROUND_HALF_UP, C.ROUND_HALF_DOWN, C.ROUND_HALF_EVEN, 284 rounding=P.ROUND_HALF_UP, 383 if mode in (P.ROUND_HALF_EVEN, P.ROUND_HALF_UP, P.ROUND_HALF_DOWN):
|
/external/fonttools/Lib/fontTools/misc/ |
D | py23.py | 370 exponent, rounding=_decimal.ROUND_HALF_UP)
|