Home
last modified time | relevance | path

Searched refs:ROUND_FLOOR (Results 1 – 25 of 51) sorted by relevance

123

/external/icu/android_icu4j/src/main/java/android/icu/math/
DMathContext.java154 public static final int ROUND_FLOOR=3; field in MathContext
302 …S[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN…
DBigDecimal.java279 public static final int ROUND_FLOOR = android.icu.math.MathContext.ROUND_FLOOR; field in BigDecimal
3647 } else if (mode == ROUND_FLOOR) { // more negative in round()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
DMathContext.java160 public static final int ROUND_FLOOR=3; field in MathContext
313 …S[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN…
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DRoundingUtils.java75 case BigDecimal.ROUND_FLOOR: in getRoundingDirection()
133 case BigDecimal.ROUND_FLOOR: in roundsAtMidpoint()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DMathContext.java160 public static final int ROUND_FLOOR=3; field in MathContext
313 …S[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN…
DBigDecimal.java285 public static final int ROUND_FLOOR = com.ibm.icu.math.MathContext.ROUND_FLOOR; field in BigDecimal
3722 } else if (mode == ROUND_FLOOR) { // more negative in round()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DRoundingUtils.java73 case BigDecimal.ROUND_FLOOR: in getRoundingDirection()
131 case BigDecimal.ROUND_FLOOR: in roundsAtMidpoint()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java119 case com.ibm.icu.math.BigDecimal.ROUND_FLOOR: in getRoundingMode()
214 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR); in setRoundingMode()
DDecimalFormatICU.java208 case com.ibm.icu.math.BigDecimal.ROUND_FLOOR: in getRoundingMode()
372 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR); in setRoundingMode()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java158 icuMode = BigDecimal.ROUND_FLOOR; in getRoundingMode()
261 case BigDecimal.ROUND_FLOOR: in setRoundingMode()
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/
DLongMathTest.java188 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR); in computeMeanSafely()
DIntMathTest.java344 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR); in computeMeanSafely()
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpDec.java249 case ROUND_FLOOR: in round()
DDfpField.java55 ROUND_FLOOR; enumConstant
DDfp.java925 return trunc(DfpField.RoundingMode.ROUND_FLOOR); in floor()
1001 case ROUND_FLOOR: in trunc()
1361 case ROUND_FLOOR: in round()
/external/python/cpython3/Lib/test/
Dtest_time.py32 ROUND_FLOOR = 0 variable in _PyTime
43 (_PyTime.ROUND_FLOOR, decimal.ROUND_FLOOR),
/external/python/cpython3/Lib/
D_pydecimal.py168 ROUND_FLOOR = 'ROUND_FLOOR' variable
381 if context.rounding == ROUND_FLOOR:
429 ROUND_FLOOR, ROUND_UP, ROUND_HALF_DOWN, ROUND_05UP)
1101 if not self and context.rounding != ROUND_FLOOR:
1123 if not self and context.rounding != ROUND_FLOOR:
1180 if context.rounding == ROUND_FLOOR and self._sign != other._sign:
1822 ROUND_FLOOR = _round_floor,
1901 return int(self._rescale(0, ROUND_FLOOR))
3509 context._set_rounding(ROUND_FLOOR)
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDataDrivenNumberFormatTestData.java142 roundingModeMap.put("floor", BigDecimal.ROUND_FLOOR);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenNumberFormatTestData.java139 roundingModeMap.put("floor", BigDecimal.ROUND_FLOOR);
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DMathUtils.java1551 case BigDecimal.ROUND_FLOOR :
1609 "ROUND_FLOOR", BigDecimal.ROUND_FLOOR,
/external/python/cpython2/Lib/
Ddecimal.py153 ROUND_FLOOR = 'ROUND_FLOOR' variable
353 if context.rounding == ROUND_FLOOR:
1072 if not self and context.rounding != ROUND_FLOOR:
1094 if not self and context.rounding != ROUND_FLOOR:
1151 if context.rounding == ROUND_FLOOR and self._sign != other._sign:
1803 ROUND_FLOOR = _round_floor,
3407 context._set_rounding(ROUND_FLOOR)
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py160 RoundModes = [C.ROUND_UP, C.ROUND_DOWN, C.ROUND_CEILING, C.ROUND_FLOOR,
387 elif mode == P.ROUND_FLOOR:
/external/guava/guava-tests/test/com/google/common/math/
DIntMathTest.java579 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR); in computeMeanSafely()
DLongMathTest.java680 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR); in computeMeanSafely()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
DDiagBigDecimalTest.java714 …ue("cuc012", android.icu.math.BigDecimal.ROUND_FLOOR == (constantVal = android.icu.math.MathContex… in diagmutation()
1187 …hContext(2,android.icu.math.MathContext.SCIENTIFIC,false,android.icu.math.MathContext.ROUND_FLOOR); in diagdivide()
1323 …cu.math.BigDecimal("0.055")).divide(one,2,android.icu.math.MathContext.ROUND_FLOOR).toString()).eq… in diagdivide()
1324 …cu.math.BigDecimal("0.055")).divide(one,1,android.icu.math.MathContext.ROUND_FLOOR).toString()).eq… in diagdivide()
1325 …cu.math.BigDecimal("0.055")).divide(one,0,android.icu.math.MathContext.ROUND_FLOOR).toString()).eq… in diagdivide()
3138 …True("for109", (m050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_FLOOR)).equals("-0.1"… in diagformat()
3139 …True("for110", (m150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_FLOOR)).equals("-0.2"… in diagformat()
3140 …True("for111", (d050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_FLOOR)).equals("0.0")… in diagformat()
3141 …True("for112", (d150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_FLOOR)).equals("0.1")… in diagformat()
3840 ….icu.math.BigDecimal("0.005")).setScale(2,android.icu.math.MathContext.ROUND_FLOOR).toString()).eq… in diagsetscale()
[all …]

123