Home
last modified time | relevance | path

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

12

/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/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/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/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/valgrind/memcheck/tests/solaris/
Dname_service_door.c154 header->key_off = header->dbd_off + ROUND_UP(header->dbd_len, sizeof(nssuint_t)); in test_app_proto_icmp()
158 header->data_off = header->key_off + ROUND_UP(header->key_len, sizeof(nssuint_t)); in test_app_proto_icmp()
/external/libdrm/amdgpu/
Damdgpu_internal.h43 #define ROUND_UP(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
/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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java349 pat.setRoundingMode(BigDecimal.ROUND_UP); in testJB6354()
DNumberFormatTestData.java139 roundingModeMap.put("up", BigDecimal.ROUND_UP);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java350 pat.setRoundingMode(BigDecimal.ROUND_UP); in testJB6354()
DNumberFormatTestData.java140 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/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
DDiagBigDecimalTest.java714 …tTrue("cuc017", android.icu.math.BigDecimal.ROUND_UP == (constantVal = android.icu.math.MathContex… in diagmutation()
1197 …MathContext(2,android.icu.math.MathContext.SCIENTIFIC,false,android.icu.math.MathContext.ROUND_UP); in diagdivide()
1355 …icu.math.BigDecimal("0.055")).divide(one,2,android.icu.math.MathContext.ROUND_UP).toString()).equa… in diagdivide()
1356 …icu.math.BigDecimal("0.055")).divide(one,1,android.icu.math.MathContext.ROUND_UP).toString()).equa… in diagdivide()
1357 …icu.math.BigDecimal("0.055")).divide(one,0,android.icu.math.MathContext.ROUND_UP).toString()).equa… in diagdivide()
3138 …tTrue("for113", (m050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_UP)).equals("-0.1")); in diagformat()
3139 …tTrue("for114", (m150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_UP)).equals("-0.2")); in diagformat()
3140 …rtTrue("for115", (d050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_UP)).equals("0.1")); in diagformat()
3141 …rtTrue("for116", (d150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_UP)).equals("0.2")); in diagformat()
3853 …d.icu.math.BigDecimal("0.005")).setScale(2,android.icu.math.MathContext.ROUND_UP).toString()).equa… in diagsetscale()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedNumberFormat.java1521 if (roundingMode < BigDecimal.ROUND_UP || roundingMode > BigDecimal.ROUND_UNNECESSARY) { in setRoundingMode()
/external/v8/src/
Dglobals.h265 #define ROUND_UP(n, sz) (((n) + ((sz) - 1)) & ~((sz) - 1)) macro
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/
DDiagBigDecimalTest.java713 …tTrue("cuc017", com.ibm.icu.math.BigDecimal.ROUND_UP == (constantVal = com.ibm.icu.math.MathContex… in diagmutation()
1196 …MathContext(2,com.ibm.icu.math.MathContext.SCIENTIFIC,false,com.ibm.icu.math.MathContext.ROUND_UP); in diagdivide()
1354 …icu.math.BigDecimal("0.055")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_UP).toString()).equa… in diagdivide()
1355 …icu.math.BigDecimal("0.055")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_UP).toString()).equa… in diagdivide()
1356 …icu.math.BigDecimal("0.055")).divide(one,0,com.ibm.icu.math.MathContext.ROUND_UP).toString()).equa… in diagdivide()
3137 …tTrue("for113", (m050.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_UP)).equals("-0.1")); in diagformat()
3138 …tTrue("for114", (m150.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_UP)).equals("-0.2")); in diagformat()
3139 …rtTrue("for115", (d050.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_UP)).equals("0.1")); in diagformat()
3140 …rtTrue("for116", (d150.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_UP)).equals("0.2")); in diagformat()
3852 …m.icu.math.BigDecimal("0.005")).setScale(2,com.ibm.icu.math.MathContext.ROUND_UP).toString()).equa… in diagsetscale()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedNumberFormat.java1559 if (roundingMode < BigDecimal.ROUND_UP || roundingMode > BigDecimal.ROUND_UNNECESSARY) { in setRoundingMode()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DSerializableTestUtility.java668 MathContext.ROUND_UNNECESSARY, MathContext.ROUND_UP};

12