Home
last modified time | relevance | path

Searched refs:ROUND_DOWN (Results 1 – 25 of 45) sorted by relevance

12

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
DMathContext.java147 public static final int ROUND_DOWN=1; field in MathContext
311 …l int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUN…
DBigDecimal.java273 public static final int ROUND_DOWN = com.ibm.icu.math.MathContext.ROUND_DOWN; field in BigDecimal
3701 } else if (mode == ROUND_DOWN) { in round()
/external/icu/android_icu4j/src/main/java/android/icu/math/
DMathContext.java142 public static final int ROUND_DOWN=1; field in MathContext
300 …l int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUN…
DBigDecimal.java270 public static final int ROUND_DOWN = android.icu.math.MathContext.ROUND_DOWN; field in BigDecimal
3628 } else if (mode == ROUND_DOWN) { in round()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DMathContext.java147 public static final int ROUND_DOWN=1; field in MathContext
311 …l int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUN…
DBigDecimal.java275 public static final int ROUND_DOWN = com.ibm.icu.math.MathContext.ROUND_DOWN; field in BigDecimal
3703 } else if (mode == ROUND_DOWN) { in round()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java114 case com.ibm.icu.math.BigDecimal.ROUND_DOWN: in getRoundingMode()
210 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_DOWN); in setRoundingMode()
DDecimalFormatICU.java203 case com.ibm.icu.math.BigDecimal.ROUND_DOWN: in getRoundingMode()
368 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_DOWN); in setRoundingMode()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java154 icuMode = BigDecimal.ROUND_DOWN; in getRoundingMode()
256 case BigDecimal.ROUND_DOWN: in setRoundingMode()
/external/libdrm/amdgpu/
Damdgpu_internal.h44 #define ROUND_DOWN(x, y) ((x) & ~__round_mask(x, y)) macro
Damdgpu_bo.c546 cpu0 = ROUND_DOWN((uintptr_t)cpu, ps); in amdgpu_create_bo_from_user_mem()
/external/speex/libspeex/
Djitter.c76 #define ROUND_DOWN(x, step) ((x)<0 ? ((x)-(step)+1)/(step)*(step) : (x)/(step)*(step)) macro
232 latest = ROUND_DOWN(latest, jitter->delay_step); in compute_opt_delay()
667 desired_span = ROUND_DOWN(desired_span, jitter->concealment_size); in jitter_buffer_get()
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpDec.java217 case ROUND_DOWN: in round()
DDfpField.java32 ROUND_DOWN, enumConstant
/external/icu/android_icu4j/src/main/java/android/icu/util/
DUniversalTimeScale.java605 return universalTime.divide(units, BigDecimal.ROUND_DOWN).subtract(epochOffset); in toBigDecimalTrunc()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUniversalTimeScale.java657 return universalTime.divide(units, BigDecimal.ROUND_DOWN).subtract(epochOffset); in toBigDecimalTrunc()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTestTuple.java137 roundingModeMap.put("down", BigDecimal.ROUND_DOWN);
DTimeUnitTest.java42 nf.setRoundingMode(BigDecimal.ROUND_DOWN); in Test10219FractionalPlurals()
DNumberFormatTest.java461 BigDecimal.ROUND_DOWN, in TestRoundingScientific10542()
568 {BigDecimal.ROUND_DOWN, 1.588, "1"}, in Test10419RoundingWith0FractionDigits()
2585 f.setRoundingMode(BigDecimal.ROUND_DOWN); in TestBigDecimalRounding()
3843 Integer.valueOf(BigDecimal.ROUND_DOWN), // Rounding Mode or null (implicit) in TestRoundingBehavior()
3859 Integer.valueOf(BigDecimal.ROUND_DOWN), in TestRoundingBehavior()
3875 Integer.valueOf(BigDecimal.ROUND_DOWN), in TestRoundingBehavior()
DRbnfTest.java1625 enFormatter.setRoundingMode(BigDecimal.ROUND_DOWN); in TestRounding()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeUnitTest.java38 nf.setRoundingMode(BigDecimal.ROUND_DOWN); in Test10219FractionalPlurals()
DNumberFormatTestTuple.java136 roundingModeMap.put("down", BigDecimal.ROUND_DOWN);
DNumberFormatTest.java457 BigDecimal.ROUND_DOWN, in TestRoundingScientific10542()
564 {BigDecimal.ROUND_DOWN, 1.588, "1"}, in Test10419RoundingWith0FractionDigits()
2581 f.setRoundingMode(BigDecimal.ROUND_DOWN); in TestBigDecimalRounding()
3839 Integer.valueOf(BigDecimal.ROUND_DOWN), // Rounding Mode or null (implicit) in TestRoundingBehavior()
3855 Integer.valueOf(BigDecimal.ROUND_DOWN), in TestRoundingBehavior()
3871 Integer.valueOf(BigDecimal.ROUND_DOWN), in TestRoundingBehavior()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DMathUtils.java1548 case BigDecimal.ROUND_DOWN :
1608 "ROUND_DOWN", BigDecimal.ROUND_DOWN,
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
DDiagBigDecimal.java937 …uc011")).ok = android.icu.math.BigDecimal.ROUND_DOWN == (constantVal = android.icu.math.MathContex… in diagmutation()
1408 …thContext(2,android.icu.math.MathContext.SCIENTIFIC,false,android.icu.math.MathContext.ROUND_DOWN); in diagdivide()
1463 rd = android.icu.math.MathContext.ROUND_DOWN; in diagdivide()
1524 rd=android.icu.math.MathContext.ROUND_DOWN; // test this is actually being used in diagdivide()
1544 …cu.math.BigDecimal("0.055")).divide(one,2,android.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide()
1545 …cu.math.BigDecimal("0.055")).divide(one,1,android.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide()
1546 …cu.math.BigDecimal("0.055")).divide(one,0,android.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide()
3380 …(new Test("for117")).ok=(m050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_DOWN)).equal… in diagformat()
3381 …(new Test("for118")).ok=(m150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_DOWN)).equal… in diagformat()
3382 …(new Test("for119")).ok=(d050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_DOWN)).equal… in diagformat()
[all …]

12