Home
last modified time | relevance | path

Searched refs:ROUND_HALF_DOWN (Results 1 – 25 of 42) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/math/
DMathContext.java167 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…
DBigDecimal.java286 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/
DMathContext.java174 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…
DBigDecimal.java291 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/
DMathContext.java174 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…
DBigDecimal.java293 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/
DNumberFormatICU.java122 case com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN: in getRoundingMode()
216 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN); in setRoundingMode()
DDecimalFormatICU.java211 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/
DNumberFormatJDK.java160 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/
DRoundingUtils.java90 case BigDecimal.ROUND_HALF_DOWN: in getRoundingDirection()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DRoundingUtils.java88 case BigDecimal.ROUND_HALF_DOWN: in getRoundingDirection()
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpDec.java229 case ROUND_HALF_DOWN: in round()
DDfpField.java41 ROUND_HALF_DOWN, enumConstant
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDataDrivenNumberFormatTestData.java146 roundingModeMap.put("halfDown", BigDecimal.ROUND_HALF_DOWN);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenNumberFormatTestData.java143 roundingModeMap.put("halfDown", BigDecimal.ROUND_HALF_DOWN);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
DDiagBigDecimalTest.java715 …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/
DMathUtils.java1558 case BigDecimal.ROUND_HALF_DOWN : {
1610 "ROUND_HALF_DOWN", BigDecimal.ROUND_HALF_DOWN,
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py161 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/
DDiagBigDecimalTest.java712 …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/
Dtest_decimal.py82 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.py170 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/
DSerializableTestUtility.java671 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/
DSerializableTestUtility.java668 MathContext.ROUND_HALF_DOWN, MathContext.ROUND_HALF_EVEN, MathContext.ROUND_HALF_UP,
/external/python/cpython2/Lib/
Ddecimal.py155 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/
Ddecimal.rst93 :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),

12