Home
last modified time | relevance | path

Searched refs:ROUND_CEILING (Results 1 – 25 of 40) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/math/
DMathContext.java134 public static final int ROUND_CEILING=2; field in MathContext
302 …private static final int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DO…
DBigDecimal.java265 public static final int ROUND_CEILING = android.icu.math.MathContext.ROUND_CEILING; field in BigDecimal
3643 } else if (mode == ROUND_CEILING) { // more positive in round()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DMathContext.java138 public static final int ROUND_CEILING=2; field in MathContext
313 …private static final int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DO…
DBigDecimal.java269 public static final int ROUND_CEILING = com.ibm.icu.math.MathContext.ROUND_CEILING; field in BigDecimal
3718 } else if (mode == ROUND_CEILING) { // more positive in round()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DRoundingUtils.java74 case BigDecimal.ROUND_CEILING: in getRoundingDirection()
135 case BigDecimal.ROUND_CEILING: in roundsAtMidpoint()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DRoundingUtils.java72 case BigDecimal.ROUND_CEILING: in getRoundingDirection()
133 case BigDecimal.ROUND_CEILING: in roundsAtMidpoint()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java113 case com.ibm.icu.math.BigDecimal.ROUND_CEILING: in getRoundingMode()
210 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_CEILING); in setRoundingMode()
DDecimalFormatICU.java202 case com.ibm.icu.math.BigDecimal.ROUND_CEILING: in getRoundingMode()
368 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_CEILING); in setRoundingMode()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java154 icuMode = BigDecimal.ROUND_CEILING; in getRoundingMode()
255 case BigDecimal.ROUND_CEILING: in setRoundingMode()
/external/python/cpython3/Lib/test/
Dtest_time.py35 ROUND_CEILING = 1 variable in _PyTime
45 (_PyTime.ROUND_CEILING, decimal.ROUND_CEILING),
Dtest_decimal.py87 ROUND_CEILING = P.ROUND_CEILING variable
95 ROUND_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR,
242 self.RoundingDict = {'ceiling' : ROUND_CEILING,
4934 self.assertIs(C.ROUND_CEILING, P.ROUND_CEILING)
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenNumberFormatTestData.java138 roundingModeMap.put("ceiling", BigDecimal.ROUND_CEILING);
DNumberFormatTest.java80 BigDecimal.ROUND_CEILING, in TestRoundingScientific10542()
188 {BigDecimal.ROUND_CEILING, 1.488, "2"}, in Test10419RoundingWith0FractionDigits()
5306 df.setRoundingMode(MathContext.ROUND_CEILING);
5848 df1.setRoundingMode(java.math.BigDecimal.ROUND_CEILING);
5850 df2.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_CEILING);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDataDrivenNumberFormatTestData.java141 roundingModeMap.put("ceiling", BigDecimal.ROUND_CEILING);
DNumberFormatTest.java83 BigDecimal.ROUND_CEILING, in TestRoundingScientific10542()
191 {BigDecimal.ROUND_CEILING, 1.488, "2"}, in Test10419RoundingWith0FractionDigits()
5309 df.setRoundingMode(MathContext.ROUND_CEILING);
5851 df1.setRoundingMode(java.math.BigDecimal.ROUND_CEILING);
5853 df2.setRoundingMode(android.icu.math.BigDecimal.ROUND_CEILING);
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DMathUtils.java1541 case BigDecimal.ROUND_CEILING :
1607 "ROUND_CEILING", BigDecimal.ROUND_CEILING,
/external/python/cpython3/Lib/
D_pydecimal.py170 ROUND_CEILING = 'ROUND_CEILING' variable
380 if context.rounding == ROUND_CEILING:
432 _rounding_modes = (ROUND_DOWN, ROUND_HALF_UP, ROUND_HALF_EVEN, ROUND_CEILING,
1825 ROUND_CEILING = _round_ceiling,
1920 return int(self._rescale(0, ROUND_CEILING))
3536 context._set_rounding(ROUND_CEILING)
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py181 RoundModes = [C.ROUND_UP, C.ROUND_DOWN, C.ROUND_CEILING, C.ROUND_FLOOR,
420 elif mode == P.ROUND_CEILING:
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
DDiagBigDecimalTest.java712 …("cuc010", android.icu.math.BigDecimal.ROUND_CEILING == (constantVal = android.icu.math.MathContex… in diagmutation()
1180 …ontext(2,android.icu.math.MathContext.SCIENTIFIC,false,android.icu.math.MathContext.ROUND_CEILING); in diagdivide()
1317 …u.math.BigDecimal("0.055")).divide(one,2,android.icu.math.MathContext.ROUND_CEILING).toString()).e… in diagdivide()
1318 …u.math.BigDecimal("0.055")).divide(one,1,android.icu.math.MathContext.ROUND_CEILING).toString()).e… in diagdivide()
1319 …u.math.BigDecimal("0.055")).divide(one,0,android.icu.math.MathContext.ROUND_CEILING).toString()).e… in diagdivide()
3133 …rue("for105", (m050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_CEILING)).equals("0.0"… in diagformat()
3134 …rue("for106", (m150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_CEILING)).equals("-0.1… in diagformat()
3135 …rue("for107", (d050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_CEILING)).equals("0.1"… in diagformat()
3136 …rue("for108", (d150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_CEILING)).equals("0.2"… in diagformat()
3834 …icu.math.BigDecimal("0.005")).setScale(2,android.icu.math.MathContext.ROUND_CEILING).toString()).e… in diagsetscale()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/
DDiagBigDecimalTest.java709 …("cuc010", com.ibm.icu.math.BigDecimal.ROUND_CEILING == (constantVal = com.ibm.icu.math.MathContex… in diagmutation()
1177 …ontext(2,com.ibm.icu.math.MathContext.SCIENTIFIC,false,com.ibm.icu.math.MathContext.ROUND_CEILING); in diagdivide()
1314 …u.math.BigDecimal("0.055")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_CEILING).toString()).e… in diagdivide()
1315 …u.math.BigDecimal("0.055")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_CEILING).toString()).e… in diagdivide()
1316 …u.math.BigDecimal("0.055")).divide(one,0,com.ibm.icu.math.MathContext.ROUND_CEILING).toString()).e… in diagdivide()
3130 …rue("for105", (m050.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_CEILING)).equals("0.0"… in diagformat()
3131 …rue("for106", (m150.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_CEILING)).equals("-0.1… in diagformat()
3132 …rue("for107", (d050.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_CEILING)).equals("0.1"… in diagformat()
3133 …rue("for108", (d150.format(-1,1,-1,-1,-1,com.ibm.icu.math.MathContext.ROUND_CEILING)).equals("0.2"… in diagformat()
3831 …icu.math.BigDecimal("0.005")).setScale(2,com.ibm.icu.math.MathContext.ROUND_CEILING).toString()).e… in diagsetscale()
[all …]
/external/python/cpython2/Lib/
Ddecimal.py152 ROUND_CEILING = 'ROUND_CEILING' variable
348 if context.rounding == ROUND_CEILING:
1802 ROUND_CEILING = _round_ceiling,
3430 context._set_rounding(ROUND_CEILING)
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DSerializableTestUtility.java672 MathContext.ROUND_CEILING, MathContext.ROUND_DOWN, MathContext.ROUND_FLOOR,
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DSerializableTestUtility.java669 MathContext.ROUND_CEILING, MathContext.ROUND_DOWN, MathContext.ROUND_FLOOR,
/external/python/cpython2/Doc/library/
Ddecimal.rst92 options include :const:`ROUND_CEILING`, :const:`ROUND_DOWN`,
1042 * :const:`ROUND_CEILING` (towards :const:`Infinity`),
/external/python/cpython3/Doc/library/
Ddecimal.rst97 options include :const:`ROUND_CEILING`, :const:`ROUND_DOWN`,
1498 .. data:: ROUND_CEILING

12