Home
last modified time | relevance | path

Searched refs:ROUND_DOWN (Results 1 – 25 of 59) 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…
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DRoundingUtils.java67 case BigDecimal.ROUND_DOWN: in getRoundingDirection()
131 case BigDecimal.ROUND_DOWN: in roundsAtMidpoint()
/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…
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DRoundingUtils.java65 case BigDecimal.ROUND_DOWN: in getRoundingDirection()
129 case BigDecimal.ROUND_DOWN: in roundsAtMidpoint()
/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.h40 #define ROUND_DOWN(x, y) ((x) & ~__round_mask(x, y)) macro
/external/speex/libspeexdsp/
Djitter.c74 #define ROUND_DOWN(x, step) ((x)<0 ? ((x)-(step)+1)/(step)*(step) : (x)/(step)*(step)) macro
230 latest = ROUND_DOWN(latest, jitter->delay_step); in compute_opt_delay()
663 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.java608 return universalTime.divide(units, BigDecimal.ROUND_DOWN).subtract(epochOffset); in toBigDecimalTrunc()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUniversalTimeScale.java660 return universalTime.divide(units, BigDecimal.ROUND_DOWN).subtract(epochOffset); in toBigDecimalTrunc()
/external/python/cpython3/Lib/test/
Dtest_decimal.py78 ROUND_DOWN = P.ROUND_DOWN variable
87 ROUND_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR,
235 'down' : ROUND_DOWN,
2341 c.rounding = ROUND_DOWN
2353 c.rounding = ROUND_DOWN
2365 c.rounding = ROUND_DOWN
2377 c.rounding = ROUND_DOWN
2519 r = d.to_integral(ROUND_DOWN)
2536 r = d.to_integral(ROUND_DOWN)
2576 context = Context(prec=5, rounding=ROUND_DOWN)
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDataDrivenNumberFormatTestData.java143 roundingModeMap.put("down", BigDecimal.ROUND_DOWN);
DTimeUnitTest.java45 nf.setRoundingMode(BigDecimal.ROUND_DOWN); in Test10219FractionalPlurals()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeUnitTest.java42 nf.setRoundingMode(BigDecimal.ROUND_DOWN); in Test10219FractionalPlurals()
DDataDrivenNumberFormatTestData.java140 roundingModeMap.put("down", BigDecimal.ROUND_DOWN);
/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/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py160 RoundModes = [C.ROUND_UP, C.ROUND_DOWN, C.ROUND_CEILING, C.ROUND_FLOOR,
391 elif mode == P.ROUND_DOWN:
/external/python/cpython2/Lib/test/
Dtest_decimal.py141 'down' : ROUND_DOWN,
1697 r = d.to_integral(ROUND_DOWN)
1717 r = d.to_integral(ROUND_DOWN)
1746 context = Context(prec=5, rounding=ROUND_DOWN)
/external/python/cpython2/Doc/library/
Ddecimal.rst92 options include :const:`ROUND_CEILING`, :const:`ROUND_DOWN`,
223 >>> Decimal('7.325').quantize(Decimal('.01'), rounding=ROUND_DOWN)
1043 * :const:`ROUND_DOWN` (towards zero),
1121 >>> context = Context(prec=5, rounding=ROUND_DOWN)
1737 DefaultContext.rounding = ROUND_DOWN
2052 >>> Context(prec=5, rounding=ROUND_DOWN).create_decimal('1.2345678')
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
DDiagBigDecimalTest.java713 …rue("cuc011", android.icu.math.BigDecimal.ROUND_DOWN == (constantVal = android.icu.math.MathContex… in diagmutation()
1184 …thContext(2,android.icu.math.MathContext.SCIENTIFIC,false,android.icu.math.MathContext.ROUND_DOWN); in diagdivide()
1239 rd = android.icu.math.MathContext.ROUND_DOWN; in diagdivide()
1300 rd=android.icu.math.MathContext.ROUND_DOWN; // test this is actually being used in diagdivide()
1320 …cu.math.BigDecimal("0.055")).divide(one,2,android.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide()
1321 …cu.math.BigDecimal("0.055")).divide(one,1,android.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide()
1322 …cu.math.BigDecimal("0.055")).divide(one,0,android.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide()
3148 …True("for117", (m050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_DOWN)).equals("0.0")); in diagformat()
3149 …True("for118", (m150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_DOWN)).equals("-0.1")… in diagformat()
3150 …True("for119", (d050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_DOWN)).equals("0.0")); in diagformat()
[all …]

123