Home
last modified time | relevance | path

Searched refs:ROUND_CEILING (Results 1 – 25 of 42) 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/eclipse-build/plugins.template/com.ibm.icu.base/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.java267 public static final int ROUND_CEILING = com.ibm.icu.math.MathContext.ROUND_CEILING; field in BigDecimal
3708 } else if (mode == ROUND_CEILING) { // more positive in round()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DRoundingUtils.java71 case BigDecimal.ROUND_CEILING: in getRoundingDirection()
132 case BigDecimal.ROUND_CEILING: in roundsAtMidpoint()
/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/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DRoundingUtils.java69 case BigDecimal.ROUND_CEILING: in getRoundingDirection()
130 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.py34 ROUND_CEILING = 1 variable in _PyTime
44 (_PyTime.ROUND_CEILING, decimal.ROUND_CEILING),
Dtest_decimal.py79 ROUND_CEILING = P.ROUND_CEILING variable
87 ROUND_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR,
234 self.RoundingDict = {'ceiling' : ROUND_CEILING,
4915 self.assertIs(C.ROUND_CEILING, P.ROUND_CEILING)
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDataDrivenNumberFormatTestData.java141 roundingModeMap.put("ceiling", BigDecimal.ROUND_CEILING);
DNumberFormatTest.java81 BigDecimal.ROUND_CEILING, in TestRoundingScientific10542()
189 {BigDecimal.ROUND_CEILING, 1.488, "2"}, in Test10419RoundingWith0FractionDigits()
5050 df.setRoundingMode(MathContext.ROUND_CEILING);
5592 df1.setRoundingMode(java.math.BigDecimal.ROUND_CEILING);
5594 df2.setRoundingMode(android.icu.math.BigDecimal.ROUND_CEILING);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenNumberFormatTestData.java138 roundingModeMap.put("ceiling", BigDecimal.ROUND_CEILING);
DNumberFormatTest.java78 BigDecimal.ROUND_CEILING, in TestRoundingScientific10542()
186 {BigDecimal.ROUND_CEILING, 1.488, "2"}, in Test10419RoundingWith0FractionDigits()
5047 df.setRoundingMode(MathContext.ROUND_CEILING);
5589 df1.setRoundingMode(java.math.BigDecimal.ROUND_CEILING);
5591 df2.setRoundingMode(com.ibm.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/Modules/_decimal/tests/
Ddeccheck.py160 RoundModes = [C.ROUND_UP, C.ROUND_DOWN, C.ROUND_CEILING, C.ROUND_FLOOR,
385 elif mode == P.ROUND_CEILING:
/external/python/cpython3/Lib/
D_pydecimal.py167 ROUND_CEILING = 'ROUND_CEILING' variable
376 if context.rounding == ROUND_CEILING:
428 _rounding_modes = (ROUND_DOWN, ROUND_HALF_UP, ROUND_HALF_EVEN, ROUND_CEILING,
1821 ROUND_CEILING = _round_ceiling,
1916 return int(self._rescale(0, ROUND_CEILING))
3532 context._set_rounding(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.java670 MathContext.ROUND_CEILING, MathContext.ROUND_DOWN, MathContext.ROUND_FLOOR,
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DSerializableTestUtility.java667 MathContext.ROUND_CEILING, MathContext.ROUND_DOWN, MathContext.ROUND_FLOOR,

12