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

12

/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
H A Damdgpu_bo.c548 size = ROUND_UP(size + off, ps);
/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/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.java350 pat.setRoundingMode(BigDecimal.ROUND_UP);
H A DNumberFormatTestData.java140 roundingModeMap.put("up", BigDecimal.ROUND_UP);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DIntlTestDecimalFormatAPI.java349 pat.setRoundingMode(BigDecimal.ROUND_UP);
H A DNumberFormatTestData.java139 roundingModeMap.put("up", BigDecimal.ROUND_UP);
/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/icu/android_icu4j/src/main/java/android/icu/text/
H A DRuleBasedNumberFormat.java1499 * @return A rounding mode, between <code>BigDecimal.ROUND_UP</code> and
1513 * @param roundingMode A rounding mode, between <code>BigDecimal.ROUND_UP</code> and
1521 if (roundingMode < BigDecimal.ROUND_UP || roundingMode > BigDecimal.ROUND_UNNECESSARY) {
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
H A DSerializableTestUtility.java668 MathContext.ROUND_UNNECESSARY, MathContext.ROUND_UP};
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DRuleBasedNumberFormat.java1535 * @return A rounding mode, between <code>BigDecimal.ROUND_UP</code> and
1550 * @param roundingMode A rounding mode, between <code>BigDecimal.ROUND_UP</code> and
1559 if (roundingMode < BigDecimal.ROUND_UP || roundingMode > BigDecimal.ROUND_UNNECESSARY) {
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
H A DSerializableTestUtility.java667 MathContext.ROUND_UNNECESSARY, MathContext.ROUND_UP};
/external/v8/src/
H A Dglobals.h264 #define ROUND_UP(n, sz) (((n) + ((sz) - 1)) & ~((sz) - 1)) macro
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
H A DDiagBigDecimalTest.java714 TestFmwk.assertTrue("cuc017", android.icu.math.BigDecimal.ROUND_UP == (constantVal = android.icu.math.MathContext.ROUND_UP));
1197 rmcd=new android.icu.math.MathContext(2,android.icu.math.MathContext.SCIENTIFIC,false,android.icu.math.MathContext.ROUND_UP);
1355 TestFmwk.assertTrue("div150", ((new android.icu.math.BigDecimal("0.055")).divide(one,2,android.icu.math.MathContext.ROUND_UP).toString()).equals("0.06"));
1356 TestFmwk.assertTrue("div151", ((new android.icu.math.BigDecimal("0.055")).divide(one,1,android.icu.math.MathContext.ROUND_UP).toString()).equals("0.1"));
1357 TestFmwk.assertTrue("div52.", ((new android.icu.math.BigDecimal("0.055")).divide(one,0,android.icu.math.MathContext.ROUND_UP).toString()).equals("1"));
3138 TestFmwk.assertTrue("for113", (m050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_UP)).equals("-0.1"));
3139 TestFmwk.assertTrue("for114", (m150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_UP)).equals("-0.2"));
3140 TestFmwk.assertTrue("for115", (d050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_UP)).equals("0.1"));
3141 TestFmwk.assertTrue("for116", (d150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_UP))
[all...]

Completed in 7350 milliseconds

12