Searched refs:ROUND_UNNECESSARY (Results 1 - 25 of 30) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/math/
H A DMathContext.java208 public static final int ROUND_UNNECESSARY=7; field in class:MathContext
283 * @see #ROUND_UNNECESSARY
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
497 * {@link #ROUND_UNNECESSARY}, or
H A DBigDecimal.java305 * @see MathContext#ROUND_UNNECESSARY
307 public static final int ROUND_UNNECESSARY = android.icu.math.MathContext.ROUND_UNNECESSARY; field in class:BigDecimal
1316 * @throws ArithmeticException if <code>round</code> is {@link MathContext#ROUND_UNNECESSARY} and <code>this.scale()</code> is insufficient to represent the result exactly.
1346 * @throws ArithmeticException if <code>round</code> is {@link MathContext#ROUND_UNNECESSARY} and <code>scale</code> is insufficient
2069 * The special value <code>MathContext.ROUND_UNNECESSARY</code> may be used to detect whether non-zero digits are
2568 * MathContext.ROUND_UNNECESSARY</code>.
2577 return setScale(scale, ROUND_UNNECESSARY);
2591 * If <code>round</code> is <code>MathContext.ROUND_UNNECESSARY</code>, an <code>ArithmeticException</code> is
2599 * @throws ArithmeticException if <code>round</code> is <code>MathContext.ROUND_UNNECESSARY</cod
[all...]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
H A DMathContext.java218 public static final int ROUND_UNNECESSARY=7; field in class:MathContext
294 * @see #ROUND_UNNECESSARY
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
516 * {@link #ROUND_UNNECESSARY}, or
H A DBigDecimal.java312 * @see MathContext#ROUND_UNNECESSARY
315 public static final int ROUND_UNNECESSARY = com.ibm.icu.math.MathContext.ROUND_UNNECESSARY; field in class:BigDecimal
1340 * @throws ArithmeticException if <code>round</code> is {@link MathContext#ROUND_UNNECESSARY} and <code>this.scale()</code> is insufficient to represent the result exactly.
1371 * @throws ArithmeticException if <code>round</code> is {@link MathContext#ROUND_UNNECESSARY} and <code>scale</code> is insufficient
2116 * The special value <code>MathContext.ROUND_UNNECESSARY</code> may be used to detect whether non-zero digits are
2621 * MathContext.ROUND_UNNECESSARY</code>.
2631 return setScale(scale, ROUND_UNNECESSARY);
2645 * If <code>round</code> is <code>MathContext.ROUND_UNNECESSARY</code>, an <code>ArithmeticException</code> is
2653 * @throws ArithmeticException if <code>round</code> is <code>MathContext.ROUND_UNNECESSARY</cod
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
H A DMathContext.java218 public static final int ROUND_UNNECESSARY=7; field in class:MathContext
294 * @see #ROUND_UNNECESSARY
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
516 * {@link #ROUND_UNNECESSARY}, or
H A DBigDecimal.java314 * @see MathContext#ROUND_UNNECESSARY
317 public static final int ROUND_UNNECESSARY = com.ibm.icu.math.MathContext.ROUND_UNNECESSARY; field in class:BigDecimal
1343 * @throws ArithmeticException if <code>round</code> is {@link MathContext#ROUND_UNNECESSARY} and <code>this.scale()</code> is insufficient to represent the result exactly.
1374 * @throws ArithmeticException if <code>round</code> is {@link MathContext#ROUND_UNNECESSARY} and <code>scale</code> is insufficient
2122 * The special value <code>MathContext.ROUND_UNNECESSARY</code> may be used to detect whether non-zero digits are
2630 * MathContext.ROUND_UNNECESSARY</code>.
2640 return setScale(scale, ROUND_UNNECESSARY);
2654 * If <code>round</code> is <code>MathContext.ROUND_UNNECESSARY</code>, an <code>ArithmeticException</code> is
2662 * @throws ArithmeticException if <code>round</code> is <code>MathContext.ROUND_UNNECESSARY</cod
[all...]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
H A DNumberFormatJDK.java166 icuMode = BigDecimal.ROUND_UNNECESSARY;
273 case BigDecimal.ROUND_UNNECESSARY:
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DNumberFormatICU.java131 case com.ibm.icu.math.BigDecimal.ROUND_UNNECESSARY:
222 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UNNECESSARY);
H A DDecimalFormatICU.java220 case com.ibm.icu.math.BigDecimal.ROUND_UNNECESSARY:
380 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UNNECESSARY);
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DRuleBasedNumberFormat.java601 private int roundingMode = BigDecimal.ROUND_UNNECESSARY;
1500 * <code>BigDecimal.ROUND_UNNECESSARY</code>.
1514 * <code>BigDecimal.ROUND_UNNECESSARY</code>.
1521 if (roundingMode < BigDecimal.ROUND_UP || roundingMode > BigDecimal.ROUND_UNNECESSARY) {
1917 if (getRoundingMode() != BigDecimal.ROUND_UNNECESSARY) {
H A DDecimalFormat.java1020 case BigDecimal.ROUND_UNNECESSARY:
1125 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) {
1158 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) {
1190 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) {
1221 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) {
3481 * <code>BigDecimal.ROUND_UNNECESSARY</code>.
3497 * <code>BigDecimal.ROUND_UNNECESSARY</code>.
3506 if (roundingMode < BigDecimal.ROUND_UP || roundingMode > BigDecimal.ROUND_UNNECESSARY) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DRuleBasedNumberFormat.java604 private int roundingMode = BigDecimal.ROUND_UNNECESSARY;
1536 * <code>BigDecimal.ROUND_UNNECESSARY</code>.
1551 * <code>BigDecimal.ROUND_UNNECESSARY</code>.
1559 if (roundingMode < BigDecimal.ROUND_UP || roundingMode > BigDecimal.ROUND_UNNECESSARY) {
1955 if (getRoundingMode() != BigDecimal.ROUND_UNNECESSARY) {
H A DDecimalFormat.java1025 case BigDecimal.ROUND_UNNECESSARY:
1131 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) {
1166 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) {
1200 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) {
1233 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) {
3511 * <code>BigDecimal.ROUND_UNNECESSARY</code>.
3528 * <code>BigDecimal.ROUND_UNNECESSARY</code>.
3538 if (roundingMode < BigDecimal.ROUND_UP || roundingMode > BigDecimal.ROUND_UNNECESSARY) {
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DNumberFormatTestData.java144 roundingModeMap.put("unnecessary", BigDecimal.ROUND_UNNECESSARY);
H A DNumberFormatTest.java2718 "ROUND_UNNECESSARY"
3958 Integer.valueOf(BigDecimal.ROUND_UNNECESSARY),
4531 df.setRoundingMode(BigDecimal.ROUND_UNNECESSARY);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatTestData.java143 roundingModeMap.put("unnecessary", BigDecimal.ROUND_UNNECESSARY);
H A DNumberFormatTest.java2717 "ROUND_UNNECESSARY"
3957 Integer.valueOf(BigDecimal.ROUND_UNNECESSARY),
4530 df.setRoundingMode(BigDecimal.ROUND_UNNECESSARY);
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DMathUtils.java1595 case BigDecimal.ROUND_UNNECESSARY :
1613 "ROUND_UNNECESSARY", BigDecimal.ROUND_UNNECESSARY,
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
H A DDiagBigDecimalTest.java713 TestFmwk.assertTrue("cuc016", android.icu.math.BigDecimal.ROUND_UNNECESSARY == (constantVal = android.icu.math.MathContext.ROUND_UNNECESSARY));
1302 ru=android.icu.math.MathContext.ROUND_UNNECESSARY; // check for some 0 residues
1385 (new android.icu.math.BigDecimal("1000")).divide(new android.icu.math.BigDecimal("5000"), 0, android.icu.math.MathContext.ROUND_UNNECESSARY);
1393 (new android.icu.math.BigDecimal("1001")).divide(new android.icu.math.BigDecimal("10"), 0, android.icu.math.MathContext.ROUND_UNNECESSARY);
1401 (new android.icu.math.BigDecimal("1001")).divide(new android.icu.math.BigDecimal("100"), 1, android.icu.math.MathContext.ROUND_UNNECESSARY);
1411 android.icu.math.MathContext.ROUND_UNNECESSARY);
1421 android.icu.math.MathContext.ROUND_UNNECESSARY);
3150 TestFmwk.assertTrue("for121", (d000.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_UNNECESSARY)).equals("0.0"));
3151 TestFmwk.assertTrue("for122", (d000.format(-1,2,-1,-1,-1,android.icu.math.MathContext.ROUND_UNNECESSARY))
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/
H A DDiagBigDecimalTest.java712 TestFmwk.assertTrue("cuc016", com.ibm.icu.math.BigDecimal.ROUND_UNNECESSARY == (constantVal = com.ibm.icu.math.MathContext.ROUND_UNNECESSARY));
1301 ru=com.ibm.icu.math.MathContext.ROUND_UNNECESSARY; // check for some 0 residues
1384 (new com.ibm.icu.math.BigDecimal("1000")).divide(new com.ibm.icu.math.BigDecimal("5000"), 0, com.ibm.icu.math.MathContext.ROUND_UNNECESSARY);
1392 (new com.ibm.icu.math.BigDecimal("1001")).divide(new com.ibm.icu.math.BigDecimal("10"), 0, com.ibm.icu.math.MathContext.ROUND_UNNECESSARY);
1400 (new com.ibm.icu.math.BigDecimal("1001")).divide(new com.ibm.icu.math.BigDecimal("100"), 1, com.ibm.icu.math.MathContext.ROUND_UNNECESSARY);
1410 com.ibm.icu.math.MathContext.ROUND_UNNECESSARY);
1420 com.ibm.icu.math.MathContext.ROUND_UNNECESSARY);
3149 TestFmwk.assertTrue("for121", (d000.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_UNNECESSARY)).equals("0.0"));
3150 TestFmwk.assertTrue("for122", (d000.format(-1,2,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_UNNECESSARY))
[all...]
/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/tests/core/src/com/ibm/icu/dev/test/serializable/
H A DSerializableTestUtility.java667 MathContext.ROUND_UNNECESSARY, MathContext.ROUND_UP};
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/robolectric/v1/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...

Completed in 792 milliseconds

12