/external/icu/android_icu4j/src/main/java/android/icu/math/ |
D | MathContext.java | 167 public static final int ROUND_HALF_DOWN=5; field in MathContext 302 …ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EV…
|
D | BigDecimal.java | 286 public static final int ROUND_HALF_DOWN = android.icu.math.MathContext.ROUND_HALF_DOWN; field in BigDecimal 3622 } else if (mode == ROUND_HALF_DOWN) { // 0.5000 goes down in round()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/ |
D | MathContext.java | 174 public static final int ROUND_HALF_DOWN=5; field in MathContext 313 …ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EV…
|
D | BigDecimal.java | 291 public static final int ROUND_HALF_DOWN = com.ibm.icu.math.MathContext.ROUND_HALF_DOWN; field in BigDecimal 3687 } else if (mode == ROUND_HALF_DOWN) { // 0.5000 goes down in round()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
D | MathContext.java | 174 public static final int ROUND_HALF_DOWN=5; field in MathContext 313 …ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EV…
|
D | BigDecimal.java | 293 public static final int ROUND_HALF_DOWN = com.ibm.icu.math.MathContext.ROUND_HALF_DOWN; field in BigDecimal 3697 } else if (mode == ROUND_HALF_DOWN) { // 0.5000 goes down in round()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | NumberFormatICU.java | 122 case com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN: in getRoundingMode() 216 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN); in setRoundingMode()
|
D | DecimalFormatICU.java | 211 case com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN: in getRoundingMode() 374 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN); in setRoundingMode()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
D | NumberFormatJDK.java | 160 icuMode = BigDecimal.ROUND_HALF_DOWN; in getRoundingMode() 264 case BigDecimal.ROUND_HALF_DOWN: in setRoundingMode()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | RoundingUtils.java | 90 case BigDecimal.ROUND_HALF_DOWN: in getRoundingDirection()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | RoundingUtils.java | 88 case BigDecimal.ROUND_HALF_DOWN: in getRoundingDirection()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
D | DfpDec.java | 229 case ROUND_HALF_DOWN: in round()
|
D | DfpField.java | 41 ROUND_HALF_DOWN, enumConstant
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DataDrivenNumberFormatTestData.java | 146 roundingModeMap.put("halfDown", BigDecimal.ROUND_HALF_DOWN);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DataDrivenNumberFormatTestData.java | 143 roundingModeMap.put("halfDown", BigDecimal.ROUND_HALF_DOWN);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/ |
D | DiagBigDecimalTest.java | 715 …cuc013", android.icu.math.BigDecimal.ROUND_HALF_DOWN == (constantVal = android.icu.math.MathContex… in diagmutation() 1190 …text(2,android.icu.math.MathContext.SCIENTIFIC,false,android.icu.math.MathContext.ROUND_HALF_DOWN); in diagdivide() 1327 ….math.BigDecimal("0.045")).divide(one,2,android.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide() 1328 ….math.BigDecimal("0.045")).divide(one,1,android.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide() 1329 ….math.BigDecimal("0.045")).divide(one,0,android.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide() 1330 ….math.BigDecimal("0.050")).divide(one,2,android.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide() 1331 ….math.BigDecimal("0.050")).divide(one,1,android.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide() 1332 ….math.BigDecimal("0.050")).divide(one,0,android.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide() 1333 ….math.BigDecimal("0.055")).divide(one,2,android.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide() 1334 ….math.BigDecimal("0.055")).divide(one,1,android.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | MathUtils.java | 1558 case BigDecimal.ROUND_HALF_DOWN : { 1610 "ROUND_HALF_DOWN", BigDecimal.ROUND_HALF_DOWN,
|
/external/python/cpython3/Modules/_decimal/tests/ |
D | deccheck.py | 161 C.ROUND_HALF_UP, C.ROUND_HALF_DOWN, C.ROUND_HALF_EVEN, 383 if mode in (P.ROUND_HALF_EVEN, P.ROUND_HALF_UP, P.ROUND_HALF_DOWN):
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/ |
D | DiagBigDecimalTest.java | 712 …cuc013", com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN == (constantVal = com.ibm.icu.math.MathContex… in diagmutation() 1187 …text(2,com.ibm.icu.math.MathContext.SCIENTIFIC,false,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN); in diagdivide() 1324 ….math.BigDecimal("0.045")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide() 1325 ….math.BigDecimal("0.045")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide() 1326 ….math.BigDecimal("0.045")).divide(one,0,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide() 1327 ….math.BigDecimal("0.050")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide() 1328 ….math.BigDecimal("0.050")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide() 1329 ….math.BigDecimal("0.050")).divide(one,0,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide() 1330 ….math.BigDecimal("0.055")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide() 1331 ….math.BigDecimal("0.055")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_HALF_DOWN).toString()).… in diagdivide() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_decimal.py | 82 ROUND_HALF_DOWN = P.ROUND_HALF_DOWN variable 88 ROUND_HALF_UP, ROUND_HALF_DOWN, ROUND_HALF_EVEN, 237 'half_down' : ROUND_HALF_DOWN, 4271 c.rounding = ROUND_HALF_DOWN 4792 c.rounding = ROUND_HALF_DOWN 4918 self.assertIs(C.ROUND_HALF_DOWN, P.ROUND_HALF_DOWN)
|
/external/python/cpython3/Lib/ |
D | _pydecimal.py | 170 ROUND_HALF_DOWN = 'ROUND_HALF_DOWN' variable 373 ROUND_HALF_DOWN, ROUND_UP): 429 ROUND_FLOOR, ROUND_UP, ROUND_HALF_DOWN, ROUND_05UP) 1819 ROUND_HALF_DOWN = _round_half_down,
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | SerializableTestUtility.java | 671 MathContext.ROUND_HALF_DOWN, MathContext.ROUND_HALF_EVEN, MathContext.ROUND_HALF_UP,
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | SerializableTestUtility.java | 668 MathContext.ROUND_HALF_DOWN, MathContext.ROUND_HALF_EVEN, MathContext.ROUND_HALF_UP,
|
/external/python/cpython2/Lib/ |
D | decimal.py | 155 ROUND_HALF_DOWN = 'ROUND_HALF_DOWN' variable 345 ROUND_HALF_DOWN, ROUND_UP): 1800 ROUND_HALF_DOWN = _round_half_down,
|
/external/python/cpython2/Doc/library/ |
D | decimal.rst | 93 :const:`ROUND_FLOOR`, :const:`ROUND_HALF_DOWN`, :const:`ROUND_HALF_EVEN`, 244 >>> myothercontext = Context(prec=60, rounding=ROUND_HALF_DOWN) 1045 * :const:`ROUND_HALF_DOWN` (to nearest with ties going towards zero),
|