/third_party/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…
|
D | BigDecimal.java | 277 public static final int ROUND_DOWN = com.ibm.icu.math.MathContext.ROUND_DOWN; field in BigDecimal 3713 } else if (mode == ROUND_DOWN) { in round()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 = ohos.global.icu.math.MathContext.ROUND_DOWN; field in BigDecimal 3638 } else if (mode == ROUND_DOWN) { in round()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | RoundingUtils.java | 70 case BigDecimal.ROUND_DOWN: in getRoundingDirection() 134 case BigDecimal.ROUND_DOWN: in roundsAtMidpoint()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | RoundingUtils.java | 68 case BigDecimal.ROUND_DOWN: in getRoundingDirection() 132 case BigDecimal.ROUND_DOWN: in roundsAtMidpoint()
|
/third_party/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()
|
/third_party/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()
|
/third_party/libdrm/amdgpu/ |
D | amdgpu_internal.h | 41 #define ROUND_DOWN(x, y) ((x) & ~__round_mask(x, y)) macro
|
/third_party/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()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | UniversalTimeScale.java | 608 return universalTime.divide(units, BigDecimal.ROUND_DOWN).subtract(epochOffset); in toBigDecimalTrunc()
|
/third_party/decimal.js/ |
D | decimal.global.d.ts | 311 static readonly ROUND_DOWN: 1;
|
D | decimal.d.ts | 290 static readonly ROUND_DOWN: 1;
|
/third_party/python/Lib/test/ |
D | test_decimal.py | 97 ROUND_DOWN = P.ROUND_DOWN variable 106 ROUND_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR, 254 'down' : ROUND_DOWN, 2369 c.rounding = ROUND_DOWN 2381 c.rounding = ROUND_DOWN 2393 c.rounding = ROUND_DOWN 2405 c.rounding = ROUND_DOWN 2556 r = d.to_integral(ROUND_DOWN) 2573 r = d.to_integral(ROUND_DOWN) 2613 context = Context(prec=5, rounding=ROUND_DOWN) [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | TimeUnitTest.java | 45 nf.setRoundingMode(BigDecimal.ROUND_DOWN); in Test10219FractionalPlurals()
|
D | DataDrivenNumberFormatTestData.java | 143 roundingModeMap.put("down", BigDecimal.ROUND_DOWN);
|
D | RbnfTest.java | 1668 enFormatter.setRoundingMode(BigDecimal.ROUND_DOWN); in TestRounding()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DataDrivenNumberFormatTestData.java | 140 roundingModeMap.put("down", BigDecimal.ROUND_DOWN);
|
D | TimeUnitTest.java | 42 nf.setRoundingMode(BigDecimal.ROUND_DOWN); in Test10219FractionalPlurals()
|
D | RbnfTest.java | 1759 enFormatter.setRoundingMode(BigDecimal.ROUND_DOWN); in TestRounding()
|
/third_party/python/Modules/_decimal/tests/ |
D | deccheck.py | 181 RoundModes = [C.ROUND_UP, C.ROUND_DOWN, C.ROUND_CEILING, C.ROUND_FLOOR, 426 elif mode == P.ROUND_DOWN:
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/ |
D | DiagBigDecimalTest.java | 710 …rue("cuc011", com.ibm.icu.math.BigDecimal.ROUND_DOWN == (constantVal = com.ibm.icu.math.MathContex… in diagmutation() 1181 …thContext(2,com.ibm.icu.math.MathContext.SCIENTIFIC,false,com.ibm.icu.math.MathContext.ROUND_DOWN); in diagdivide() 1236 rd = com.ibm.icu.math.MathContext.ROUND_DOWN; in diagdivide() 1297 rd=com.ibm.icu.math.MathContext.ROUND_DOWN; // test this is actually being used in diagdivide() 1317 …cu.math.BigDecimal("0.055")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide() 1318 …cu.math.BigDecimal("0.055")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide() 1319 …cu.math.BigDecimal("0.055")).divide(one,0,com.ibm.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide() 3145 …True("for117", (m050.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_DOWN)).equals("0.0")); in diagformat() 3146 …True("for118", (m150.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_DOWN)).equals("-0.1")… in diagformat() 3147 …True("for119", (d050.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_DOWN)).equals("0.0")); in diagformat() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bigdec/ |
D | DiagBigDecimalTest.java | 713 …uc011", ohos.global.icu.math.BigDecimal.ROUND_DOWN == (constantVal = ohos.global.icu.math.MathCont… in diagmutation() 1184 …t(2,ohos.global.icu.math.MathContext.SCIENTIFIC,false,ohos.global.icu.math.MathContext.ROUND_DOWN); in diagdivide() 1239 rd = ohos.global.icu.math.MathContext.ROUND_DOWN; in diagdivide() 1300 rd=ohos.global.icu.math.MathContext.ROUND_DOWN; // test this is actually being used in diagdivide() 1320 …ath.BigDecimal("0.055")).divide(one,2,ohos.global.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide() 1321 …ath.BigDecimal("0.055")).divide(one,1,ohos.global.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide() 1322 …ath.BigDecimal("0.055")).divide(one,0,ohos.global.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide() 3148 …("for117", (m050.format(-1,1,-1,-1,-1,ohos.global.icu.math.MathContext.ROUND_DOWN)).equals("0.0")); in diagformat() 3149 …("for118", (m150.format(-1,1,-1,-1,-1,ohos.global.icu.math.MathContext.ROUND_DOWN)).equals("-0.1")… in diagformat() 3150 …("for119", (d050.format(-1,1,-1,-1,-1,ohos.global.icu.math.MathContext.ROUND_DOWN)).equals("0.0")); in diagformat() [all …]
|
/third_party/python/Doc/library/ |
D | decimal.rst | 97 options include :const:`ROUND_CEILING`, :const:`ROUND_DOWN`, 257 >>> Decimal('7.325').quantize(Decimal('.01'), rounding=ROUND_DOWN) 1099 >>> context = Context(prec=5, rounding=ROUND_DOWN) 1502 .. data:: ROUND_DOWN 1810 DefaultContext.rounding = ROUND_DOWN 2129 >>> Context(prec=5, rounding=ROUND_DOWN).create_decimal('1.2345678')
|