Home
last modified time | relevance | path

Searched refs:ROUND_UP (Results 1 – 25 of 50) sorted by relevance

12

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DMathContext.java229 public static final int ROUND_UP=0; field in MathContext
313 …P,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EVEN,ROUND_UP};
DBigDecimal.java325 public static final int ROUND_UP = com.ibm.icu.math.MathContext.ROUND_UP; field in BigDecimal
3715 } else if (mode == ROUND_UP) { // increment if discarded non-zero in round()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/math/
DMathContext.java218 public static final int ROUND_UP=0; field in MathContext
302 …P,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EVEN,ROUND_UP};
DBigDecimal.java314 public static final int ROUND_UP = ohos.global.icu.math.MathContext.ROUND_UP; field in BigDecimal
3640 } else if (mode == ROUND_UP) { // increment if discarded non-zero in round()
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java151 int icuMode = BigDecimal.ROUND_UP; in getRoundingMode()
168 icuMode = BigDecimal.ROUND_UP; in getRoundingMode()
276 case BigDecimal.ROUND_UP: in setRoundingMode()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DRoundingUtils.java64 case BigDecimal.ROUND_UP: in getRoundingDirection()
131 case BigDecimal.ROUND_UP: in roundsAtMidpoint()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DRoundingUtils.java66 case BigDecimal.ROUND_UP: in getRoundingDirection()
133 case BigDecimal.ROUND_UP: in roundsAtMidpoint()
/third_party/cmsis/CMSIS/DSP/Source/FilteringFunctions/
Darm_fir_init_q31.c89 memset(pState, 0, (numTaps + (blockSize - 1U) + 2*ROUND_UP(blockSize, 4)) * sizeof(q31_t)); in arm_fir_init_q31()
Darm_fir_init_f16.c92 memset(pState, 0, (numTaps + (blockSize - 1U) + ROUND_UP(blockSize, 8)) * sizeof(float16_t)); in arm_fir_init_f16()
Darm_fir_q31.c110 q31_t *pRefStatePtr = S->pState + 2*ROUND_UP(blockSize, 4); \
213 q31_t *pRefStatePtr = S->pState + 2*ROUND_UP(blockSize, 4); in arm_fir_q31_1_4_mve()
455 q31_t *pRefStatePtr = S->pState + 2*ROUND_UP(blockSize, 4); in arm_fir_q31_29_32_mve()
655 q31_t *pRefStatePtr = S->pState + 2*ROUND_UP(blockSize, 4); in arm_fir_q31()
Darm_fir_f16.c247 float16_t *pRefStatePtr = S->pState + ROUND_UP(blockSize, 8); in arm_fir_f16()
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java134 case com.ibm.icu.math.BigDecimal.ROUND_UP: in getRoundingMode()
224 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UP); in setRoundingMode()
DDecimalFormatICU.java223 case com.ibm.icu.math.BigDecimal.ROUND_UP: in getRoundingMode()
382 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UP); in setRoundingMode()
/third_party/libdrm/amdgpu/
Damdgpu_internal.h40 #define ROUND_UP(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
/third_party/cmsis/CMSIS/DSP/Include/dsp/
Dutils.h45 #define ROUND_UP(N, S) ((((N) + (S) - 1) / (S)) * (S)) macro
/third_party/libffi/src/pa/
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); in ffi_size_stack_pa32()
/third_party/libuv/src/unix/
Dinternal.h93 #define ROUND_UP(a, b) \ macro
/third_party/python/Lib/test/
Dtest_decimal.py96 ROUND_UP = P.ROUND_UP variable
106 ROUND_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR,
259 'up' : ROUND_UP,
2372 ans = str(Decimal('1.5').to_integral(rounding=ROUND_UP, context=None))
2384 ans = str(Decimal('1.5').to_integral_value(rounding=ROUND_UP, context=None))
2396 ans = str(Decimal('1.5').to_integral_exact(rounding=ROUND_UP, context=None))
2402 c.rounding = ROUND_UP
2408 … ans = str(Decimal('1.50001').quantize(exp=Decimal('1e-3'), rounding=ROUND_UP, context=None))
2411 … self.assertRaises(InvalidOperation, y.quantize, Decimal('1e-10'), rounding=ROUND_UP, context=None)
2609 context = Context(prec=5, rounding=ROUND_UP)
[all …]
Dtest_time.py39 ROUND_UP = 3 variable in _PyTime
47 (_PyTime.ROUND_UP, decimal.ROUND_UP),
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstutils.c794 ROUND_UP, enumerator
861 case ROUND_UP: in gmp_scale()
896 case ROUND_UP: in _gmp_test_scale()
930 case ROUND_UP: in _gmp_test_scale_int()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java344 pat.setRoundingMode(BigDecimal.ROUND_UP); in testJB6354()
DDataDrivenNumberFormatTestData.java141 roundingModeMap.put("up", BigDecimal.ROUND_UP);
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java347 pat.setRoundingMode(BigDecimal.ROUND_UP); in testJB6354()
DDataDrivenNumberFormatTestData.java144 roundingModeMap.put("up", BigDecimal.ROUND_UP);
/third_party/python/Modules/_decimal/tests/
Ddeccheck.py181 RoundModes = [C.ROUND_UP, C.ROUND_DOWN, C.ROUND_CEILING, C.ROUND_FLOOR,
424 elif mode == P.ROUND_UP:

12