Searched refs:ROUND_FLOOR (Results 1 - 25 of 44) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
H A DRoundingUtils.java63 case BigDecimal.ROUND_FLOOR:
120 case BigDecimal.ROUND_FLOOR:
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DRoundingUtils.java61 case BigDecimal.ROUND_FLOOR:
118 case BigDecimal.ROUND_FLOOR:
/external/icu/android_icu4j/src/main/java/android/icu/math/
H A DMathContext.java154 public static final int ROUND_FLOOR=3; field in class:MathContext
279 * @see #ROUND_FLOOR
302 private static final int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EVEN,ROUND_UP};
305 private static final java.lang.String ROUNDWORDS[]=new java.lang.String[]{"ROUND_HALF_UP","ROUND_UNNECESSARY","ROUND_CEILING","ROUND_DOWN","ROUND_FLOOR","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_UP"}; // matching names of the ROUNDS values
493 * {@link #ROUND_FLOOR},
H A DBigDecimal.java277 * @see MathContext#ROUND_FLOOR
279 public static final int ROUND_FLOOR = android.icu.math.MathContext.ROUND_FLOOR; field in class:BigDecimal
3647 } else if (mode == ROUND_FLOOR) { // more negative
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
H A DMathContext.java160 public static final int ROUND_FLOOR=3; field in class:MathContext
290 * @see #ROUND_FLOOR
313 private static final int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EVEN,ROUND_UP};
316 private static final java.lang.String ROUNDWORDS[]=new java.lang.String[]{"ROUND_HALF_UP","ROUND_UNNECESSARY","ROUND_CEILING","ROUND_DOWN","ROUND_FLOOR","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_UP"}; // matching names of the ROUNDS values
512 * {@link #ROUND_FLOOR},
H A DBigDecimal.java280 * @see MathContext#ROUND_FLOOR
283 public static final int ROUND_FLOOR = com.ibm.icu.math.MathContext.ROUND_FLOOR; field in class:BigDecimal
3712 } else if (mode == ROUND_FLOOR) { // more negative
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
H A DMathContext.java160 public static final int ROUND_FLOOR=3; field in class:MathContext
290 * @see #ROUND_FLOOR
313 private static final int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EVEN,ROUND_UP};
316 private static final java.lang.String ROUNDWORDS[]=new java.lang.String[]{"ROUND_HALF_UP","ROUND_UNNECESSARY","ROUND_CEILING","ROUND_DOWN","ROUND_FLOOR","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_UP"}; // matching names of the ROUNDS values
512 * {@link #ROUND_FLOOR},
H A DBigDecimal.java282 * @see MathContext#ROUND_FLOOR
285 public static final int ROUND_FLOOR = com.ibm.icu.math.MathContext.ROUND_FLOOR; field in class:BigDecimal
3722 } else if (mode == ROUND_FLOOR) { // more negative
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
H A DNumberFormatJDK.java158 icuMode = BigDecimal.ROUND_FLOOR;
261 case BigDecimal.ROUND_FLOOR:
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DNumberFormatICU.java119 case com.ibm.icu.math.BigDecimal.ROUND_FLOOR:
214 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR);
H A DDecimalFormatICU.java208 case com.ibm.icu.math.BigDecimal.ROUND_FLOOR:
372 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR);
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/
H A DLongMathTest.java188 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR);
H A DIntMathTest.java344 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR);
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
H A DDfpDec.java249 case ROUND_FLOOR:
H A DDfpField.java55 ROUND_FLOOR; enum constant in enum:DfpField.RoundingMode
H A DDfp.java925 return trunc(DfpField.RoundingMode.ROUND_FLOOR);
1001 case ROUND_FLOOR:
1361 case ROUND_FLOOR:
/external/python/cpython3/Lib/test/
H A Dtest_time.py34 ROUND_FLOOR = 0 variable in class:_PyTime
43 (_PyTime.ROUND_FLOOR, decimal.ROUND_FLOOR),
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DDataDrivenNumberFormatTestData.java141 roundingModeMap.put("floor", BigDecimal.ROUND_FLOOR);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DDataDrivenNumberFormatTestData.java138 roundingModeMap.put("floor", BigDecimal.ROUND_FLOOR);
/external/python/cpython3/Lib/
H A D_pydecimal.py135 'ROUND_FLOOR', 'ROUND_UP', 'ROUND_HALF_DOWN', 'ROUND_05UP',
168 ROUND_FLOOR = 'ROUND_FLOOR' variable
381 if context.rounding == ROUND_FLOOR:
429 ROUND_FLOOR, ROUND_UP, ROUND_HALF_DOWN, ROUND_05UP)
1142 if not self and context.rounding != ROUND_FLOOR:
1144 # in ROUND_FLOOR rounding mode.
1164 if not self and context.rounding != ROUND_FLOOR:
1165 # + (-0) = 0, except in ROUND_FLOOR rounding mode.
1221 if context.rounding == ROUND_FLOOR an
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DMathUtils.java1551 case BigDecimal.ROUND_FLOOR :
1609 "ROUND_FLOOR", BigDecimal.ROUND_FLOOR,
/external/python/cpython3/Modules/_decimal/tests/
H A Ddeccheck.py160 RoundModes = [C.ROUND_UP, C.ROUND_DOWN, C.ROUND_CEILING, C.ROUND_FLOOR,
387 elif mode == P.ROUND_FLOOR:
/external/python/cpython2/Lib/
H A Ddecimal.py131 'ROUND_FLOOR', 'ROUND_UP', 'ROUND_HALF_DOWN', 'ROUND_05UP',
153 ROUND_FLOOR = 'ROUND_FLOOR' variable
353 if context.rounding == ROUND_FLOOR:
1072 if not self and context.rounding != ROUND_FLOOR:
1074 # in ROUND_FLOOR rounding mode.
1094 if not self and context.rounding != ROUND_FLOOR:
1095 # + (-0) = 0, except in ROUND_FLOOR rounding mode.
1151 if context.rounding == ROUND_FLOOR and self._sign != other._sign:
1803 ROUND_FLOOR
[all...]
/external/guava/guava-tests/test/com/google/common/math/
H A DIntMathTest.java579 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR);
H A DLongMathTest.java680 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR);

Completed in 643 milliseconds

12