Home
last modified time | relevance | path

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

123

/external/icu/android_icu4j/src/main/java/android/icu/math/
DMathContext.java144 public static final int ROUND_DOWN=1; field in MathContext
302 …l int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUN…
DBigDecimal.java272 public static final int ROUND_DOWN = android.icu.math.MathContext.ROUND_DOWN; field in BigDecimal
3638 } else if (mode == ROUND_DOWN) { in round()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
DMathContext.java149 public static final int ROUND_DOWN=1; field in MathContext
313 …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/core/src/com/ibm/icu/math/
DMathContext.java149 public static final int ROUND_DOWN=1; field in MathContext
313 …l int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUN…
DBigDecimal.java277 public static final int ROUND_DOWN = com.ibm.icu.math.MathContext.ROUND_DOWN; field in BigDecimal
3713 } else if (mode == ROUND_DOWN) { in round()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java116 case com.ibm.icu.math.BigDecimal.ROUND_DOWN: in getRoundingMode()
212 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_DOWN); in setRoundingMode()
DDecimalFormatICU.java205 case com.ibm.icu.math.BigDecimal.ROUND_DOWN: in getRoundingMode()
370 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_DOWN); in setRoundingMode()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java156 icuMode = BigDecimal.ROUND_DOWN; in getRoundingMode()
258 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
DDfp.java1333 case ROUND_DOWN: in round()
1736 … if (field.getRoundingMode() == DfpField.RoundingMode.ROUND_DOWN && nsqd == mant.length) { in divide()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUniversalTimeScale.java659 return universalTime.divide(units, BigDecimal.ROUND_DOWN).subtract(epochOffset); in toBigDecimalTrunc()
/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/tests/core/src/com/ibm/icu/dev/test/format/
DTimeUnitTest.java40 nf.setRoundingMode(BigDecimal.ROUND_DOWN); in Test10219FractionalPlurals()
DNumberFormatTestData.java138 roundingModeMap.put("down", BigDecimal.ROUND_DOWN);
DNumberFormatTest.java461 BigDecimal.ROUND_DOWN, in TestRoundingScientific10542()
569 {BigDecimal.ROUND_DOWN, 1.588, "1"}, in Test10419RoundingWith0FractionDigits()
2650 f.setRoundingMode(BigDecimal.ROUND_DOWN); in TestBigDecimalRounding()
3933 Integer.valueOf(BigDecimal.ROUND_DOWN), // Rounding Mode or null (implicit) in TestRoundingBehavior()
3949 Integer.valueOf(BigDecimal.ROUND_DOWN), in TestRoundingBehavior()
3965 Integer.valueOf(BigDecimal.ROUND_DOWN), in TestRoundingBehavior()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeUnitTest.java41 nf.setRoundingMode(BigDecimal.ROUND_DOWN); in Test10219FractionalPlurals()
DNumberFormatTestData.java139 roundingModeMap.put("down", BigDecimal.ROUND_DOWN);
DNumberFormatTest.java462 BigDecimal.ROUND_DOWN, in TestRoundingScientific10542()
570 {BigDecimal.ROUND_DOWN, 1.588, "1"}, in Test10419RoundingWith0FractionDigits()
2651 f.setRoundingMode(BigDecimal.ROUND_DOWN); in TestBigDecimalRounding()
3934 Integer.valueOf(BigDecimal.ROUND_DOWN), // Rounding Mode or null (implicit) in TestRoundingBehavior()
3950 Integer.valueOf(BigDecimal.ROUND_DOWN), in TestRoundingBehavior()
3966 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/
DDiagBigDecimalTest.java708 …rue("cuc011", android.icu.math.BigDecimal.ROUND_DOWN == (constantVal = android.icu.math.MathContex… in diagmutation()
1179 …thContext(2,android.icu.math.MathContext.SCIENTIFIC,false,android.icu.math.MathContext.ROUND_DOWN); in diagdivide()
1234 rd = android.icu.math.MathContext.ROUND_DOWN; in diagdivide()
1295 rd=android.icu.math.MathContext.ROUND_DOWN; // test this is actually being used in diagdivide()
1315 …cu.math.BigDecimal("0.055")).divide(one,2,android.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide()
1316 …cu.math.BigDecimal("0.055")).divide(one,1,android.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide()
1317 …cu.math.BigDecimal("0.055")).divide(one,0,android.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide()
3143 …True("for117", (m050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_DOWN)).equals("0.0")); in diagformat()
3144 …True("for118", (m150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_DOWN)).equals("-0.1")… in diagformat()
3145 …True("for119", (d050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_DOWN)).equals("0.0")); in diagformat()
[all …]

123