Home
last modified time | relevance | path

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

123

/external/icu/android_icu4j/src/main/java/android/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 = android.icu.math.MathContext.ROUND_UP; field in BigDecimal
3640 } else if (mode == ROUND_UP) { // increment if discarded non-zero in round()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/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.java323 public static final int ROUND_UP = com.ibm.icu.math.MathContext.ROUND_UP; field in BigDecimal
3705 } else if (mode == ROUND_UP) { // increment if discarded non-zero in round()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DRoundingUtils.java63 case BigDecimal.ROUND_UP: in getRoundingDirection()
130 case BigDecimal.ROUND_UP: in roundsAtMidpoint()
/external/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()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DRoundingUtils.java61 case BigDecimal.ROUND_UP: in getRoundingDirection()
128 case BigDecimal.ROUND_UP: in roundsAtMidpoint()
/external/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()
/external/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()
/external/libdrm/amdgpu/
Damdgpu_internal.h39 #define ROUND_UP(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
/external/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()
/external/python/cpython2/Modules/_ctypes/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()
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpDec.java221 case ROUND_UP: in round()
DDfpField.java35 ROUND_UP, enumConstant
/external/python/cpython3/Lib/test/
Dtest_decimal.py77 ROUND_UP = P.ROUND_UP variable
87 ROUND_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR,
240 'up' : ROUND_UP,
2344 ans = str(Decimal('1.5').to_integral(rounding=ROUND_UP, context=None))
2356 ans = str(Decimal('1.5').to_integral_value(rounding=ROUND_UP, context=None))
2368 ans = str(Decimal('1.5').to_integral_exact(rounding=ROUND_UP, context=None))
2374 c.rounding = ROUND_UP
2380 … ans = str(Decimal('1.50001').quantize(exp=Decimal('1e-3'), rounding=ROUND_UP, context=None))
2383 … self.assertRaises(InvalidOperation, y.quantize, Decimal('1e-10'), rounding=ROUND_UP, context=None)
2581 context = Context(prec=5, rounding=ROUND_UP)
[all …]
Dtest_time.py38 ROUND_UP = 3 variable in _PyTime
46 (_PyTime.ROUND_UP, decimal.ROUND_UP),
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java347 pat.setRoundingMode(BigDecimal.ROUND_UP); in testJB6354()
DDataDrivenNumberFormatTestData.java144 roundingModeMap.put("up", BigDecimal.ROUND_UP);
/external/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);
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DMathUtils.java1600 case BigDecimal.ROUND_UP :
1614 "ROUND_UP", BigDecimal.ROUND_UP);
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py160 RoundModes = [C.ROUND_UP, C.ROUND_DOWN, C.ROUND_CEILING, C.ROUND_FLOOR,
389 elif mode == P.ROUND_UP:
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
DDiagBigDecimalTest.java719 …tTrue("cuc017", android.icu.math.BigDecimal.ROUND_UP == (constantVal = android.icu.math.MathContex… in diagmutation()
1202 …MathContext(2,android.icu.math.MathContext.SCIENTIFIC,false,android.icu.math.MathContext.ROUND_UP); in diagdivide()
1360 …icu.math.BigDecimal("0.055")).divide(one,2,android.icu.math.MathContext.ROUND_UP).toString()).equa… in diagdivide()
1361 …icu.math.BigDecimal("0.055")).divide(one,1,android.icu.math.MathContext.ROUND_UP).toString()).equa… in diagdivide()
1362 …icu.math.BigDecimal("0.055")).divide(one,0,android.icu.math.MathContext.ROUND_UP).toString()).equa… in diagdivide()
3143 …tTrue("for113", (m050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_UP)).equals("-0.1")); in diagformat()
3144 …tTrue("for114", (m150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_UP)).equals("-0.2")); in diagformat()
3145 …rtTrue("for115", (d050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_UP)).equals("0.1")); in diagformat()
3146 …rtTrue("for116", (d150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_UP)).equals("0.2")); in diagformat()
3858 …d.icu.math.BigDecimal("0.005")).setScale(2,android.icu.math.MathContext.ROUND_UP).toString()).equa… in diagsetscale()
[all …]

123