/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
H A D | RoundingUtils.java | 76 case BigDecimal.ROUND_FLOOR: in getRoundingDirection() 134 case BigDecimal.ROUND_FLOOR: in roundsAtMidpoint()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
H A D | MathContext.java | 160 public static final int ROUND_FLOOR=3; field in MathContext 290 * @see #ROUND_FLOOR 313 private static final int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EVEN,ROUND_UP}; 316 private static final java.lang.String ROUNDWORDS[]=new java.lang.String[]{"ROUND_HALF_UP","ROUND_UNNECESSARY","ROUND_CEILING","ROUND_DOWN","ROUND_FLOOR","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_UP"}; // matching names of the ROUNDS values 512 * {@link #ROUND_FLOOR},
|
H A D | BigDecimal.java | 282 * @see MathContext#ROUND_FLOOR 285 public static final int ROUND_FLOOR = com.ibm.icu.math.MathContext.ROUND_FLOOR; field in BigDecimal 3722 } else if (mode == ROUND_FLOOR) { // more negative in round()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
H A D | RoundingUtils.java | 78 case BigDecimal.ROUND_FLOOR: in getRoundingDirection() 136 case BigDecimal.ROUND_FLOOR: in roundsAtMidpoint()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/math/ |
H A D | MathContext.java | 154 public static final int ROUND_FLOOR=3; field in MathContext 279 * @see #ROUND_FLOOR 302 private static final int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EVEN,ROUND_UP}; 305 private static final java.lang.String ROUNDWORDS[]=new java.lang.String[]{"ROUND_HALF_UP","ROUND_UNNECESSARY","ROUND_CEILING","ROUND_DOWN","ROUND_FLOOR","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_UP"}; // matching names of the ROUNDS values 493 * {@link #ROUND_FLOOR},
|
H A D | BigDecimal.java | 277 * @see MathContext#ROUND_FLOOR 279 public static final int ROUND_FLOOR = ohos.global.icu.math.MathContext.ROUND_FLOOR; field in BigDecimal 3647 } else if (mode == ROUND_FLOOR) { // more negative in round()
|
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
H A D | NumberFormatICU.java | 119 case com.ibm.icu.math.BigDecimal.ROUND_FLOOR: in getRoundingMode() 214 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR); in setRoundingMode()
|
H A D | DecimalFormatICU.java | 208 case com.ibm.icu.math.BigDecimal.ROUND_FLOOR: in getRoundingMode() 372 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR); in setRoundingMode()
|
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
H A D | NumberFormatJDK.java | 158 icuMode = BigDecimal.ROUND_FLOOR; in getRoundingMode() 261 case BigDecimal.ROUND_FLOOR: in setRoundingMode()
|
/third_party/python/Lib/test/ |
H A D | test_time.py | 33 ROUND_FLOOR = 0 variable in _PyTime 48 (_PyTime.ROUND_FLOOR, decimal.ROUND_FLOOR),
|
H A D | test_decimal.py | 89 ROUND_FLOOR = P.ROUND_FLOOR variable 96 ROUND_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR, 245 'floor' : ROUND_FLOOR, 5057 self.assertIs(C.ROUND_FLOOR, P.ROUND_FLOOR)
|
/third_party/python/Lib/ |
H A D | _pydecimal.py | 135 'ROUND_FLOOR', 'ROUND_UP', 'ROUND_HALF_DOWN', 'ROUND_05UP', 171 ROUND_FLOOR = 'ROUND_FLOOR' variable 385 if context.rounding == ROUND_FLOOR: 433 ROUND_FLOOR, ROUND_UP, ROUND_HALF_DOWN, ROUND_05UP) 1115 if not self and context.rounding != ROUND_FLOOR: 1117 # in ROUND_FLOOR rounding mode. 1137 if not self and context.rounding != ROUND_FLOOR: 1138 # + (-0) = 0, except in ROUND_FLOOR rounding mode. 1194 if context.rounding == ROUND_FLOOR an [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | DataDrivenNumberFormatTestData.java | 139 roundingModeMap.put("floor", BigDecimal.ROUND_FLOOR);
|
H A D | NumberFormatTest.java | 82 BigDecimal.ROUND_FLOOR, in TestRoundingScientific10542() 190 {BigDecimal.ROUND_FLOOR, 1.588, "1"}, in Test10419RoundingWith0FractionDigits() 2620 "ROUND_UP", "ROUND_DOWN", "ROUND_CEILING", "ROUND_FLOOR",
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | DataDrivenNumberFormatTestData.java | 142 roundingModeMap.put("floor", BigDecimal.ROUND_FLOOR);
|
H A D | NumberFormatTest.java | 85 BigDecimal.ROUND_FLOOR, in TestRoundingScientific10542() 193 {BigDecimal.ROUND_FLOOR, 1.588, "1"}, in Test10419RoundingWith0FractionDigits() 2623 "ROUND_UP", "ROUND_DOWN", "ROUND_CEILING", "ROUND_FLOOR",
|
/third_party/python/Modules/_decimal/tests/ |
H A D | deccheck.py | 181 RoundModes = [C.ROUND_UP, C.ROUND_DOWN, C.ROUND_CEILING, C.ROUND_FLOOR, 422 elif mode == P.ROUND_FLOOR:
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bigdec/ |
H A D | DiagBigDecimalTest.java | 714 TestFmwk.assertTrue("cuc012", ohos.global.icu.math.BigDecimal.ROUND_FLOOR == (constantVal = ohos.global.icu.math.MathContext.ROUND_FLOOR)); in diagmutation() 1187 rmcd=new ohos.global.icu.math.MathContext(2,ohos.global.icu.math.MathContext.SCIENTIFIC,false,ohos.global.icu.math.MathContext.ROUND_FLOOR); in diagdivide() 1323 TestFmwk.assertTrue("div107", ((new ohos.global.icu.math.BigDecimal("0.055")).divide(one,2,ohos.global.icu.math.MathContext.ROUND_FLOOR).toString()).equals("0.05")); in diagdivide() 1324 TestFmwk.assertTrue("div108", ((new ohos.global.icu.math.BigDecimal("0.055")).divide(one,1,ohos.global.icu.math.MathContext.ROUND_FLOOR).toString()).equals("0.0")); in diagdivide() 1325 TestFmwk.assertTrue("div109", ((new ohos.global.icu.math.BigDecimal("0.055")).divide(one,0,ohos.global.icu.math.MathContext.ROUND_FLOOR).toString()).equals("0")); in diagdivide() 3138 TestFmwk.assertTrue("for109", (m050.format(-1,1,-1,-1,-1,ohos.global.icu.math.MathContext.ROUND_FLOOR)).equals("-0.1")); in diagformat() 3139 TestFmwk.assertTrue("for110", (m150.format(-1,1,-1,-1,-1,ohos.global.icu.math.MathContext.ROUND_FLOOR)).equals("-0.2")); in diagformat() 3140 TestFmwk.assertTrue("for111", (d050.format(-1,1,-1,-1,-1,ohos.global.icu.math.MathContext.ROUND_FLOOR)).equals("0.0")); in diagformat() 3141 TestFmwk.assertTrue("for112", (d150.format(-1,1,-1,-1,-1,ohos.global.icu.math.MathContext.ROUND_FLOOR)) in diagformat() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/ |
H A D | DiagBigDecimalTest.java | 711 TestFmwk.assertTrue("cuc012", com.ibm.icu.math.BigDecimal.ROUND_FLOOR == (constantVal = com.ibm.icu.math.MathContext.ROUND_FLOOR)); in diagmutation() 1184 rmcd=new com.ibm.icu.math.MathContext(2,com.ibm.icu.math.MathContext.SCIENTIFIC,false,com.ibm.icu.math.MathContext.ROUND_FLOOR); in diagdivide() 1320 TestFmwk.assertTrue("div107", ((new com.ibm.icu.math.BigDecimal("0.055")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_FLOOR).toString()).equals("0.05")); in diagdivide() 1321 TestFmwk.assertTrue("div108", ((new com.ibm.icu.math.BigDecimal("0.055")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_FLOOR).toString()).equals("0.0")); in diagdivide() 1322 TestFmwk.assertTrue("div109", ((new com.ibm.icu.math.BigDecimal("0.055")).divide(one,0,com.ibm.icu.math.MathContext.ROUND_FLOOR).toString()).equals("0")); in diagdivide() 3135 TestFmwk.assertTrue("for109", (m050.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_FLOOR)).equals("-0.1")); in diagformat() 3136 TestFmwk.assertTrue("for110", (m150.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_FLOOR)).equals("-0.2")); in diagformat() 3137 TestFmwk.assertTrue("for111", (d050.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_FLOOR)).equals("0.0")); in diagformat() 3138 TestFmwk.assertTrue("for112", (d150.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_FLOOR)) in diagformat() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/serializable/ |
H A D | SerializableTestUtility.java | 670 MathContext.ROUND_CEILING, MathContext.ROUND_DOWN, MathContext.ROUND_FLOOR,
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
H A D | SerializableTestUtility.java | 669 MathContext.ROUND_CEILING, MathContext.ROUND_DOWN, MathContext.ROUND_FLOOR,
|
/third_party/decimal.js/ |
H A D | decimal.js | 50 // ROUND_FLOOR 3 Towards -Infinity. 4394 Decimal.ROUND_FLOOR = 3; 4485 * Return a new Decimal whose value is `x` round to an integer using `ROUND_FLOOR`.
|
/third_party/skia/third_party/externals/sfntly/java/lib/ |
H A D | icu4j-4_8_1_1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/ibm/
com/ibm/icu/
com/ibm/icu/impl/
... |