Home
last modified time | relevance | path

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

12

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
DMathContext.java158 public static final int ROUND_FLOOR=3; field in MathContext
311 …S[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN…
DBigDecimal.java281 public static final int ROUND_FLOOR = com.ibm.icu.math.MathContext.ROUND_FLOOR; field in BigDecimal
3710 } else if (mode == ROUND_FLOOR) { // more negative in round()
/external/icu/android_icu4j/src/main/java/android/icu/math/
DMathContext.java152 public static final int ROUND_FLOOR=3; field in MathContext
300 …S[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN…
DBigDecimal.java277 public static final int ROUND_FLOOR = android.icu.math.MathContext.ROUND_FLOOR; field in BigDecimal
3637 } else if (mode == ROUND_FLOOR) { // more negative in round()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DMathContext.java158 public static final int ROUND_FLOOR=3; field in MathContext
311 …S[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN…
DBigDecimal.java283 public static final int ROUND_FLOOR = com.ibm.icu.math.MathContext.ROUND_FLOOR; field in BigDecimal
3712 } else if (mode == ROUND_FLOOR) { // more negative in round()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java117 case com.ibm.icu.math.BigDecimal.ROUND_FLOOR: in getRoundingMode()
212 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR); in setRoundingMode()
DDecimalFormatICU.java206 case com.ibm.icu.math.BigDecimal.ROUND_FLOOR: in getRoundingMode()
370 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR); in setRoundingMode()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java156 icuMode = BigDecimal.ROUND_FLOOR; in getRoundingMode()
259 case BigDecimal.ROUND_FLOOR: in setRoundingMode()
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/
DLongMathTest.java188 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR); in computeMeanSafely()
DIntMathTest.java344 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR); in computeMeanSafely()
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpDec.java249 case ROUND_FLOOR: in round()
DDfpField.java55 ROUND_FLOOR; enumConstant
DDfp.java925 return trunc(DfpField.RoundingMode.ROUND_FLOOR); in floor()
1001 case ROUND_FLOOR: in trunc()
1361 case ROUND_FLOOR: in round()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTestTuple.java136 roundingModeMap.put("floor", BigDecimal.ROUND_FLOOR);
DNumberFormatTest.java462 BigDecimal.ROUND_FLOOR, in TestRoundingScientific10542()
569 {BigDecimal.ROUND_FLOOR, 1.588, "1"}, in Test10419RoundingWith0FractionDigits()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTestTuple.java135 roundingModeMap.put("floor", BigDecimal.ROUND_FLOOR);
DNumberFormatTest.java458 BigDecimal.ROUND_FLOOR, in TestRoundingScientific10542()
565 {BigDecimal.ROUND_FLOOR, 1.588, "1"}, in Test10419RoundingWith0FractionDigits()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DMathUtils.java1551 case BigDecimal.ROUND_FLOOR :
1609 "ROUND_FLOOR", BigDecimal.ROUND_FLOOR,
/external/guava/guava-tests/test/com/google/common/math/
DIntMathTest.java579 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR); in computeMeanSafely()
DLongMathTest.java680 .divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR); in computeMeanSafely()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
DDiagBigDecimal.java938 …c012")).ok = android.icu.math.BigDecimal.ROUND_FLOOR == (constantVal = android.icu.math.MathContex… in diagmutation()
1411 …hContext(2,android.icu.math.MathContext.SCIENTIFIC,false,android.icu.math.MathContext.ROUND_FLOOR); in diagdivide()
1547 …cu.math.BigDecimal("0.055")).divide(one,2,android.icu.math.MathContext.ROUND_FLOOR).toString()).eq… in diagdivide()
1548 …cu.math.BigDecimal("0.055")).divide(one,1,android.icu.math.MathContext.ROUND_FLOOR).toString()).eq… in diagdivide()
1549 …cu.math.BigDecimal("0.055")).divide(one,0,android.icu.math.MathContext.ROUND_FLOOR).toString()).eq… in diagdivide()
3370 …(new Test("for109")).ok=(m050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_FLOOR)).equa… in diagformat()
3371 …(new Test("for110")).ok=(m150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_FLOOR)).equa… in diagformat()
3372 …(new Test("for111")).ok=(d050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_FLOOR)).equa… in diagformat()
3373 …(new Test("for112")).ok=(d150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_FLOOR)).equa… in diagformat()
4077 ….icu.math.BigDecimal("0.005")).setScale(2,android.icu.math.MathContext.ROUND_FLOOR).toString()).eq… in diagsetscale()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/
DDiagBigDecimal.java934 …c012")).ok = com.ibm.icu.math.BigDecimal.ROUND_FLOOR == (constantVal = com.ibm.icu.math.MathContex… in diagmutation()
1407 …hContext(2,com.ibm.icu.math.MathContext.SCIENTIFIC,false,com.ibm.icu.math.MathContext.ROUND_FLOOR); in diagdivide()
1543 …cu.math.BigDecimal("0.055")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_FLOOR).toString()).eq… in diagdivide()
1544 …cu.math.BigDecimal("0.055")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_FLOOR).toString()).eq… in diagdivide()
1545 …cu.math.BigDecimal("0.055")).divide(one,0,com.ibm.icu.math.MathContext.ROUND_FLOOR).toString()).eq… in diagdivide()
3366 …(new Test("for109")).ok=(m050.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_FLOOR)).equa… in diagformat()
3367 …(new Test("for110")).ok=(m150.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_FLOOR)).equa… in diagformat()
3368 …(new Test("for111")).ok=(d050.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_FLOOR)).equa… in diagformat()
3369 …(new Test("for112")).ok=(d150.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_FLOOR)).equa… in diagformat()
4073 ….icu.math.BigDecimal("0.005")).setScale(2,com.ibm.icu.math.MathContext.ROUND_FLOOR).toString()).eq… in diagsetscale()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DSerializableTest.java616 MathContext.ROUND_CEILING, MathContext.ROUND_DOWN, MathContext.ROUND_FLOOR,
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DSerializableTest.java620 MathContext.ROUND_CEILING, MathContext.ROUND_DOWN, MathContext.ROUND_FLOOR,

12