/external/icu/android_icu4j/src/main/java/android/icu/math/ |
D | MathContext.java | 154 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…
|
D | BigDecimal.java | 279 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/ |
D | MathContext.java | 160 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/ |
D | RoundingUtils.java | 75 case BigDecimal.ROUND_FLOOR: in getRoundingDirection() 133 case BigDecimal.ROUND_FLOOR: in roundsAtMidpoint()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
D | MathContext.java | 160 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…
|
D | BigDecimal.java | 285 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/ |
D | RoundingUtils.java | 73 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/ |
D | NumberFormatICU.java | 119 case com.ibm.icu.math.BigDecimal.ROUND_FLOOR: in getRoundingMode() 214 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR); in setRoundingMode()
|
D | DecimalFormatICU.java | 208 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/ |
D | NumberFormatJDK.java | 158 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/ |
D | LongMathTest.java | 188 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR); in computeMeanSafely()
|
D | IntMathTest.java | 344 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR); in computeMeanSafely()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
D | DfpDec.java | 249 case ROUND_FLOOR: in round()
|
D | DfpField.java | 55 ROUND_FLOOR; enumConstant
|
D | Dfp.java | 925 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/ |
D | test_time.py | 32 ROUND_FLOOR = 0 variable in _PyTime 43 (_PyTime.ROUND_FLOOR, decimal.ROUND_FLOOR),
|
/external/python/cpython3/Lib/ |
D | _pydecimal.py | 168 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/ |
D | DataDrivenNumberFormatTestData.java | 142 roundingModeMap.put("floor", BigDecimal.ROUND_FLOOR);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DataDrivenNumberFormatTestData.java | 139 roundingModeMap.put("floor", BigDecimal.ROUND_FLOOR);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | MathUtils.java | 1551 case BigDecimal.ROUND_FLOOR : 1609 "ROUND_FLOOR", BigDecimal.ROUND_FLOOR,
|
/external/python/cpython2/Lib/ |
D | decimal.py | 153 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/ |
D | deccheck.py | 160 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/ |
D | IntMathTest.java | 579 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR); in computeMeanSafely()
|
D | LongMathTest.java | 680 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR); in computeMeanSafely()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/ |
D | DiagBigDecimalTest.java | 714 …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 …]
|