Home
last modified time | relevance | path

Searched refs:ROUND_HALF_EVEN (Results 1 – 25 of 53) sorted by relevance

123

/external/icu/android_icu4j/src/main/java/android/icu/math/
DMathContext.java184 public static final int ROUND_HALF_EVEN=6; field in MathContext
302 …P,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EVEN,ROUND_UP};
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
DMathContext.java192 public static final int ROUND_HALF_EVEN=6; field in MathContext
313 …P,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EVEN,ROUND_UP};
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DMathContext.java192 public static final int ROUND_HALF_EVEN=6; field in MathContext
313 …P,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUND_HALF_DOWN,ROUND_HALF_EVEN,ROUND_UP};
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java125 case com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN: in getRoundingMode()
218 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN); in setRoundingMode()
DDecimalFormatICU.java214 case com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN: in getRoundingMode()
376 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN); in setRoundingMode()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java162 icuMode = BigDecimal.ROUND_HALF_EVEN; in getRoundingMode()
267 case BigDecimal.ROUND_HALF_EVEN: in setRoundingMode()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java299 … MathContext comp1 = new MathContext(0, MathContext.PLAIN, false, MathContext.ROUND_HALF_EVEN); in testJB4971()
310 …athContext comp2 = new MathContext(5, MathContext.ENGINEERING, false, MathContext.ROUND_HALF_EVEN); in testJB4971()
DRbnfTest.java1615 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN); in TestRounding()
1632 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN); in TestRounding()
DDataDrivenNumberFormatTestData.java145 roundingModeMap.put("halfEven", BigDecimal.ROUND_HALF_EVEN);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java296 … MathContext comp1 = new MathContext(0, MathContext.PLAIN, false, MathContext.ROUND_HALF_EVEN); in testJB4971()
307 …athContext comp2 = new MathContext(5, MathContext.ENGINEERING, false, MathContext.ROUND_HALF_EVEN); in testJB4971()
DRbnfTest.java1612 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN); in TestRounding()
1629 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN); in TestRounding()
DDataDrivenNumberFormatTestData.java142 roundingModeMap.put("halfEven", BigDecimal.ROUND_HALF_EVEN);
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DRoundingUtils.java101 case BigDecimal.ROUND_HALF_EVEN: in getRoundingDirection()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DRoundingUtils.java99 case BigDecimal.ROUND_HALF_EVEN: in getRoundingDirection()
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpField.java46 ROUND_HALF_EVEN, enumConstant
191 this.rMode = RoundingMode.ROUND_HALF_EVEN; in DfpField()
DDfpDec.java233 case ROUND_HALF_EVEN: in round()
DDfp.java917 return trunc(DfpField.RoundingMode.ROUND_HALF_EVEN); in rint()
1015 case ROUND_HALF_EVEN: in trunc()
1349 case ROUND_HALF_EVEN: in round()
/external/python/cpython3/Lib/
D_pydecimal.py166 ROUND_HALF_EVEN = 'ROUND_HALF_EVEN' variable
372 if context.rounding in (ROUND_HALF_UP, ROUND_HALF_EVEN,
428 _rounding_modes = (ROUND_DOWN, ROUND_HALF_UP, ROUND_HALF_EVEN, ROUND_CEILING,
1820 ROUND_HALF_EVEN = _round_half_even,
1886 return int(self._rescale(0, ROUND_HALF_EVEN))
2806 rounding = context._set_rounding(ROUND_HALF_EVEN)
3101 rounding = context._set_rounding(ROUND_HALF_EVEN)
3233 rounding = context._set_rounding(ROUND_HALF_EVEN)
3314 rounding = context._set_rounding(ROUND_HALF_EVEN)
6073 prec=28, rounding=ROUND_HALF_EVEN,
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
DDiagBigDecimalTest.java716 …cuc014", android.icu.math.BigDecimal.ROUND_HALF_EVEN == (constantVal = android.icu.math.MathContex… in diagmutation()
1194 …text(2,android.icu.math.MathContext.SCIENTIFIC,false,android.icu.math.MathContext.ROUND_HALF_EVEN); in diagdivide()
1337 ….math.BigDecimal("0.045")).divide(one,2,android.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide()
1338 ….math.BigDecimal("0.045")).divide(one,1,android.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide()
1339 ….math.BigDecimal("0.045")).divide(one,0,android.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide()
1340 ….math.BigDecimal("0.050")).divide(one,2,android.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide()
1341 ….math.BigDecimal("0.050")).divide(one,1,android.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide()
1342 ….math.BigDecimal("0.050")).divide(one,0,android.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide()
1343 ….math.BigDecimal("0.150")).divide(one,2,android.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide()
1344 ….math.BigDecimal("0.150")).divide(one,1,android.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide()
[all …]
/external/python/cpython3/Lib/test/
Dtest_time.py36 ROUND_HALF_EVEN = 2 variable in _PyTime
45 (_PyTime.ROUND_HALF_EVEN, decimal.ROUND_HALF_EVEN),
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/
DDiagBigDecimalTest.java713 …cuc014", com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN == (constantVal = com.ibm.icu.math.MathContex… in diagmutation()
1191 …text(2,com.ibm.icu.math.MathContext.SCIENTIFIC,false,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN); in diagdivide()
1334 ….math.BigDecimal("0.045")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide()
1335 ….math.BigDecimal("0.045")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide()
1336 ….math.BigDecimal("0.045")).divide(one,0,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide()
1337 ….math.BigDecimal("0.050")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide()
1338 ….math.BigDecimal("0.050")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide()
1339 ….math.BigDecimal("0.050")).divide(one,0,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide()
1340 ….math.BigDecimal("0.150")).divide(one,2,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide()
1341 ….math.BigDecimal("0.150")).divide(one,1,com.ibm.icu.math.MathContext.ROUND_HALF_EVEN).toString()).… in diagdivide()
[all …]
/external/fonttools/Lib/fontTools/misc/
Dpy23.py441 exponent, rounding=_decimal.ROUND_HALF_EVEN)
/external/python/cpython2/Lib/
Ddecimal.py151 ROUND_HALF_EVEN = 'ROUND_HALF_EVEN' variable
344 if context.rounding in (ROUND_HALF_UP, ROUND_HALF_EVEN,
1801 ROUND_HALF_EVEN = _round_half_even,
2704 rounding = context._set_rounding(ROUND_HALF_EVEN)
2999 rounding = context._set_rounding(ROUND_HALF_EVEN)
3131 rounding = context._set_rounding(ROUND_HALF_EVEN)
3212 rounding = context._set_rounding(ROUND_HALF_EVEN)
5880 prec=28, rounding=ROUND_HALF_EVEN,
5900 prec=9, rounding=ROUND_HALF_EVEN,
/external/python/cpython2/Doc/library/
Ddecimal.rst93 :const:`ROUND_FLOOR`, :const:`ROUND_HALF_DOWN`, :const:`ROUND_HALF_EVEN`,
128 Context(prec=28, rounding=ROUND_HALF_EVEN, Emin=-999999999, Emax=999999999,
250 Context(prec=9, rounding=ROUND_HALF_EVEN, Emin=-999999999, Emax=999999999,
275 Context(prec=9, rounding=ROUND_HALF_EVEN, Emin=-999999999, Emax=999999999,
533 :const:`ROUND_HALF_EVEN` rounding mode.
656 correctly rounded using the :const:`ROUND_HALF_EVEN` rounding mode.
663 rounded using the :const:`ROUND_HALF_EVEN` rounding mode.
1001 :const:`ROUND_HALF_EVEN`. All flags are cleared. No traps are enabled (so that
1024 The default values are precision=28, rounding=ROUND_HALF_EVEN, and enabled traps
1046 * :const:`ROUND_HALF_EVEN` (to nearest with ties going to nearest even integer),
/external/python/cpython3/Doc/library/
Ddecimal.rst98 :const:`ROUND_FLOOR`, :const:`ROUND_HALF_DOWN`, :const:`ROUND_HALF_EVEN`,
133 Context(prec=28, rounding=ROUND_HALF_EVEN, Emin=-999999, Emax=999999,
284 Context(prec=9, rounding=ROUND_HALF_EVEN, Emin=-999999, Emax=999999,
309 Context(prec=9, rounding=ROUND_HALF_EVEN, Emin=-999999, Emax=999999,
567 :const:`ROUND_HALF_EVEN` rounding mode.
662 correctly rounded using the :const:`ROUND_HALF_EVEN` rounding mode.
667 rounded using the :const:`ROUND_HALF_EVEN` rounding mode.
964 :const:`ROUND_HALF_EVEN`. All flags are cleared. No traps are enabled (so that
988 :attr:`rounding`\ =\ :const:`ROUND_HALF_EVEN`,
1501 .. data:: ROUND_HALF_EVEN

123