Home
last modified time | relevance | path

Searched refs:ROUND_FLOOR (Results 1 - 23 of 23) sorted by relevance

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DRoundingUtils.java76 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 DMathContext.java160 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 DBigDecimal.java282 * @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 DRoundingUtils.java78 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 DMathContext.java154 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 DBigDecimal.java277 * @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 DNumberFormatICU.java119 case com.ibm.icu.math.BigDecimal.ROUND_FLOOR: in getRoundingMode()
214 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR); in setRoundingMode()
H A DDecimalFormatICU.java208 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 DNumberFormatJDK.java158 icuMode = BigDecimal.ROUND_FLOOR; in getRoundingMode()
261 case BigDecimal.ROUND_FLOOR: in setRoundingMode()
/third_party/python/Lib/test/
H A Dtest_time.py33 ROUND_FLOOR = 0 variable in _PyTime
48 (_PyTime.ROUND_FLOOR, decimal.ROUND_FLOOR),
H A Dtest_decimal.py89 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.py135 '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 DDataDrivenNumberFormatTestData.java139 roundingModeMap.put("floor", BigDecimal.ROUND_FLOOR);
H A DNumberFormatTest.java82 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 DDataDrivenNumberFormatTestData.java142 roundingModeMap.put("floor", BigDecimal.ROUND_FLOOR);
H A DNumberFormatTest.java85 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 Ddeccheck.py181 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 DDiagBigDecimalTest.java714 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 DDiagBigDecimalTest.java711 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 DSerializableTestUtility.java670 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 DSerializableTestUtility.java669 MathContext.ROUND_CEILING, MathContext.ROUND_DOWN, MathContext.ROUND_FLOOR,
/third_party/decimal.js/
H A Ddecimal.js50 // 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 Dicu4j-4_8_1_1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ibm/icu/ com/ibm/icu/impl/ ...

Completed in 68 milliseconds