Searched refs:ROUND_UP (Results 1 - 25 of 52) sorted by relevance

123

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
H A DRoundingUtils.java51 case BigDecimal.ROUND_UP:
117 case BigDecimal.ROUND_UP:
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DRoundingUtils.java49 case BigDecimal.ROUND_UP:
115 case BigDecimal.ROUND_UP:
/external/icu/android_icu4j/src/main/java/android/icu/math/
H A DMathContext.java218 public static final int ROUND_UP=0; field in class:MathContext
284 * @see #ROUND_UP
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
498 * {@link #ROUND_UP}.
H A DBigDecimal.java312 * @see MathContext#ROUND_UP
314 public static final int ROUND_UP = android.icu.math.MathContext.ROUND_UP; field in class:BigDecimal
3298 // so that the residue is visible for ROUND_UP, ROUND_HALF_xxx and
3640 } else if (mode == ROUND_UP) { // increment if discarded non-zero
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
H A DMathContext.java229 public static final int ROUND_UP=0; field in class:MathContext
295 * @see #ROUND_UP
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
517 * {@link #ROUND_UP}.
H A DBigDecimal.java320 * @see MathContext#ROUND_UP
323 public static final int ROUND_UP = com.ibm.icu.math.MathContext.ROUND_UP; field in class:BigDecimal
3363 // so that the residue is visible for ROUND_UP, ROUND_HALF_xxx and
3705 } else if (mode == ROUND_UP) { // increment if discarded non-zero
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
H A DMathContext.java229 public static final int ROUND_UP=0; field in class:MathContext
295 * @see #ROUND_UP
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
517 * {@link #ROUND_UP}.
H A DBigDecimal.java322 * @see MathContext#ROUND_UP
325 public static final int ROUND_UP = com.ibm.icu.math.MathContext.ROUND_UP; field in class:BigDecimal
3373 // so that the residue is visible for ROUND_UP, ROUND_HALF_xxx and
3715 } else if (mode == ROUND_UP) { // increment if discarded non-zero
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
H A DNumberFormatJDK.java151 int icuMode = BigDecimal.ROUND_UP;
168 icuMode = BigDecimal.ROUND_UP;
276 case BigDecimal.ROUND_UP:
/external/libdrm/amdgpu/
H A Damdgpu_internal.h43 #define ROUND_UP(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DNumberFormatICU.java134 case com.ibm.icu.math.BigDecimal.ROUND_UP:
224 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UP);
H A DDecimalFormatICU.java223 case com.ibm.icu.math.BigDecimal.ROUND_UP:
382 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UP);
/external/valgrind/memcheck/tests/solaris/
H A Dname_service_door.c154 header->key_off = header->dbd_off + ROUND_UP(header->dbd_len, sizeof(nssuint_t));
158 header->data_off = header->key_off + ROUND_UP(header->key_len, sizeof(nssuint_t));
/external/libffi/src/pa/
H A Dffi.c37 #define ROUND_UP(v, a) (((size_t)(v) + (a) - 1) & ~((a) - 1)) macro
313 cif->bytes = 64 + ROUND_UP((z - 6) * sizeof(UINT32), MIN_STACK_SIZE);
/external/python/cpython2/Modules/_ctypes/libffi/src/pa/
H A Dffi.c37 #define ROUND_UP(v, a) (((size_t)(v) + (a) - 1) & ~((a) - 1)) macro
313 cif->bytes = 64 + ROUND_UP((z - 6) * sizeof(UINT32), MIN_STACK_SIZE);
/external/python/cpython3/Modules/_ctypes/libffi/src/pa/
H A Dffi.c37 #define ROUND_UP(v, a) (((size_t)(v) + (a) - 1) & ~((a) - 1)) macro
313 cif->bytes = 64 + ROUND_UP((z - 6) * sizeof(UINT32), MIN_STACK_SIZE);
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
H A DDfpDec.java221 case ROUND_UP:
H A DDfpField.java35 ROUND_UP, enum constant in enum:DfpField.RoundingMode
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DIntlTestDecimalFormatAPI.java347 pat.setRoundingMode(BigDecimal.ROUND_UP);
H A DDataDrivenNumberFormatTestData.java143 roundingModeMap.put("up", BigDecimal.ROUND_UP);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DIntlTestDecimalFormatAPI.java344 pat.setRoundingMode(BigDecimal.ROUND_UP);
H A DDataDrivenNumberFormatTestData.java140 roundingModeMap.put("up", BigDecimal.ROUND_UP);
/external/python/cpython3/Lib/test/
H A Dtest_decimal.py82 ROUND_UP = P.ROUND_UP variable
92 ROUND_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR,
245 'up' : ROUND_UP,
2337 ans = str(Decimal('1.5').to_integral(rounding=ROUND_UP, context=None))
2349 ans = str(Decimal('1.5').to_integral_value(rounding=ROUND_UP, context=None))
2361 ans = str(Decimal('1.5').to_integral_exact(rounding=ROUND_UP, context=None))
2367 c.rounding = ROUND_UP
2373 ans = str(Decimal('1.50001').quantize(exp=Decimal('1e-3'), rounding=ROUND_UP, context=None))
2376 self.assertRaises(InvalidOperation, y.quantize, Decimal('1e-10'), rounding=ROUND_UP, contex
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DMathUtils.java1600 case BigDecimal.ROUND_UP :
1614 "ROUND_UP", BigDecimal.ROUND_UP);
/external/python/cpython3/Modules/_decimal/tests/
H A Ddeccheck.py160 RoundModes = [C.ROUND_UP, C.ROUND_DOWN, C.ROUND_CEILING, C.ROUND_FLOOR,
389 elif mode == P.ROUND_UP:
467 setcontext(Context(prec=21, rounding=ROUND_UP, Emin=-55, Emax=85))

Completed in 1087 milliseconds

123