/external/icu/android_icu4j/src/main/java/android/icu/math/ |
D | MathContext.java | 144 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…
|
D | BigDecimal.java | 272 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/ |
D | MathContext.java | 149 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/ |
D | RoundingUtils.java | 67 case BigDecimal.ROUND_DOWN: in getRoundingDirection() 131 case BigDecimal.ROUND_DOWN: in roundsAtMidpoint()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
D | MathContext.java | 149 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/ |
D | RoundingUtils.java | 65 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/ |
D | NumberFormatICU.java | 116 case com.ibm.icu.math.BigDecimal.ROUND_DOWN: in getRoundingMode() 212 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_DOWN); in setRoundingMode()
|
D | DecimalFormatICU.java | 205 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/ |
D | NumberFormatJDK.java | 156 icuMode = BigDecimal.ROUND_DOWN; in getRoundingMode() 258 case BigDecimal.ROUND_DOWN: in setRoundingMode()
|
/external/libdrm/amdgpu/ |
D | amdgpu_internal.h | 40 #define ROUND_DOWN(x, y) ((x) & ~__round_mask(x, y)) macro
|
/external/speex/libspeexdsp/ |
D | jitter.c | 74 #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/ |
D | DfpDec.java | 217 case ROUND_DOWN: in round()
|
D | DfpField.java | 32 ROUND_DOWN, enumConstant
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | UniversalTimeScale.java | 608 return universalTime.divide(units, BigDecimal.ROUND_DOWN).subtract(epochOffset); in toBigDecimalTrunc()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | UniversalTimeScale.java | 660 return universalTime.divide(units, BigDecimal.ROUND_DOWN).subtract(epochOffset); in toBigDecimalTrunc()
|
/external/python/cpython3/Lib/test/ |
D | test_decimal.py | 78 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/ |
D | DataDrivenNumberFormatTestData.java | 143 roundingModeMap.put("down", BigDecimal.ROUND_DOWN);
|
D | TimeUnitTest.java | 45 nf.setRoundingMode(BigDecimal.ROUND_DOWN); in Test10219FractionalPlurals()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeUnitTest.java | 42 nf.setRoundingMode(BigDecimal.ROUND_DOWN); in Test10219FractionalPlurals()
|
D | DataDrivenNumberFormatTestData.java | 140 roundingModeMap.put("down", BigDecimal.ROUND_DOWN);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | MathUtils.java | 1548 case BigDecimal.ROUND_DOWN : 1608 "ROUND_DOWN", BigDecimal.ROUND_DOWN,
|
/external/python/cpython3/Modules/_decimal/tests/ |
D | deccheck.py | 160 RoundModes = [C.ROUND_UP, C.ROUND_DOWN, C.ROUND_CEILING, C.ROUND_FLOOR, 391 elif mode == P.ROUND_DOWN:
|
/external/python/cpython2/Lib/test/ |
D | test_decimal.py | 141 '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/ |
D | decimal.rst | 92 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/ |
D | DiagBigDecimalTest.java | 713 …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 …]
|