Searched refs:ROUND_FLOOR (Results 1 - 25 of 36) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/math/
H A DMathContext.java154 public static final int ROUND_FLOOR=3; field in class:MathContext
279 * @see #ROUND_FLOOR
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
493 * {@link #ROUND_FLOOR},
H A DBigDecimal.java277 * @see MathContext#ROUND_FLOOR
279 public static final int ROUND_FLOOR = android.icu.math.MathContext.ROUND_FLOOR; field in class:BigDecimal
3647 } else if (mode == ROUND_FLOOR) { // more negative
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
H A DMathContext.java160 public static final int ROUND_FLOOR=3; field in class:MathContext
290 * @see #ROUND_FLOOR
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
512 * {@link #ROUND_FLOOR},
H A DBigDecimal.java280 * @see MathContext#ROUND_FLOOR
283 public static final int ROUND_FLOOR = com.ibm.icu.math.MathContext.ROUND_FLOOR; field in class:BigDecimal
3712 } else if (mode == ROUND_FLOOR) { // more negative
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
H A DMathContext.java160 public static final int ROUND_FLOOR=3; field in class:MathContext
290 * @see #ROUND_FLOOR
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
512 * {@link #ROUND_FLOOR},
H A DBigDecimal.java282 * @see MathContext#ROUND_FLOOR
285 public static final int ROUND_FLOOR = com.ibm.icu.math.MathContext.ROUND_FLOOR; field in class:BigDecimal
3722 } else if (mode == ROUND_FLOOR) { // more negative
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
H A DNumberFormatJDK.java158 icuMode = BigDecimal.ROUND_FLOOR;
261 case BigDecimal.ROUND_FLOOR:
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DNumberFormatICU.java119 case com.ibm.icu.math.BigDecimal.ROUND_FLOOR:
214 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR);
H A DDecimalFormatICU.java208 case com.ibm.icu.math.BigDecimal.ROUND_FLOOR:
372 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR);
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/
H A DLongMathTest.java188 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR);
H A DIntMathTest.java344 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR);
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
H A DDfpDec.java249 case ROUND_FLOOR:
H A DDfpField.java55 ROUND_FLOOR; enum constant in enum:DfpField.RoundingMode
H A DDfp.java925 return trunc(DfpField.RoundingMode.ROUND_FLOOR);
1001 case ROUND_FLOOR:
1361 case ROUND_FLOOR:
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DNumberFormatTestData.java138 roundingModeMap.put("floor", BigDecimal.ROUND_FLOOR);
H A DNumberFormatTest.java463 BigDecimal.ROUND_FLOOR,
571 {BigDecimal.ROUND_FLOOR, 1.588, "1"},
2716 "ROUND_UP", "ROUND_DOWN", "ROUND_CEILING", "ROUND_FLOOR",
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatTestData.java137 roundingModeMap.put("floor", BigDecimal.ROUND_FLOOR);
H A DNumberFormatTest.java462 BigDecimal.ROUND_FLOOR,
570 {BigDecimal.ROUND_FLOOR, 1.588, "1"},
2715 "ROUND_UP", "ROUND_DOWN", "ROUND_CEILING", "ROUND_FLOOR",
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DMathUtils.java1551 case BigDecimal.ROUND_FLOOR :
1609 "ROUND_FLOOR", BigDecimal.ROUND_FLOOR,
/external/guava/guava-tests/test/com/google/common/math/
H A DIntMathTest.java579 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR);
H A DLongMathTest.java680 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
H A DDiagBigDecimalTest.java709 TestFmwk.assertTrue("cuc012", android.icu.math.BigDecimal.ROUND_FLOOR == (constantVal = android.icu.math.MathContext.ROUND_FLOOR));
1182 rmcd=new android.icu.math.MathContext(2,android.icu.math.MathContext.SCIENTIFIC,false,android.icu.math.MathContext.ROUND_FLOOR);
1318 TestFmwk.assertTrue("div107", ((new android.icu.math.BigDecimal("0.055")).divide(one,2,android.icu.math.MathContext.ROUND_FLOOR).toString()).equals("0.05"));
1319 TestFmwk.assertTrue("div108", ((new android.icu.math.BigDecimal("0.055")).divide(one,1,android.icu.math.MathContext.ROUND_FLOOR).toString()).equals("0.0"));
1320 TestFmwk.assertTrue("div109", ((new android.icu.math.BigDecimal("0.055")).divide(one,0,android.icu.math.MathContext.ROUND_FLOOR).toString()).equals("0"));
3133 TestFmwk.assertTrue("for109", (m050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_FLOOR)).equals("-0.1"));
3134 TestFmwk.assertTrue("for110", (m150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_FLOOR)).equals("-0.2"));
3135 TestFmwk.assertTrue("for111", (d050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_FLOOR)).equals("0.0"));
3136 TestFmwk.assertTrue("for112", (d150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_FLOOR))
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/
H A DDiagBigDecimalTest.java708 TestFmwk.assertTrue("cuc012", com.ibm.icu.math.BigDecimal.ROUND_FLOOR == (constantVal = com.ibm.icu.math.MathContext.ROUND_FLOOR));
1181 rmcd=new com.ibm.icu.math.MathContext(2,com.ibm.icu.math.MathContext.SCIENTIFIC,false,com.ibm.icu.math.MathContext.ROUND_FLOOR);
1317 TestFmwk.assertTrue("div107", ((new com.ibm.icu.math.BigDecimal("0.055")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_FLOOR).toString()).equals("0.05"));
1318 TestFmwk.assertTrue("div108", ((new com.ibm.icu.math.BigDecimal("0.055")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_FLOOR).toString()).equals("0.0"));
1319 TestFmwk.assertTrue("div109", ((new com.ibm.icu.math.BigDecimal("0.055")).divide(one,0,com.ibm.icu.math.MathContext.ROUND_FLOOR).toString()).equals("0"));
3132 TestFmwk.assertTrue("for109", (m050.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_FLOOR)).equals("-0.1"));
3133 TestFmwk.assertTrue("for110", (m150.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_FLOOR)).equals("-0.2"));
3134 TestFmwk.assertTrue("for111", (d050.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_FLOOR)).equals("0.0"));
3135 TestFmwk.assertTrue("for112", (d150.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_FLOOR))
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
H A DSerializableTestUtility.java666 MathContext.ROUND_CEILING, MathContext.ROUND_DOWN, MathContext.ROUND_FLOOR,
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
H A DSerializableTestUtility.java665 MathContext.ROUND_CEILING, MathContext.ROUND_DOWN, MathContext.ROUND_FLOOR,

Completed in 664 milliseconds

12