/external/icu/android_icu4j/src/main/java/android/icu/math/ |
D | MathContext.java | 184 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/ |
D | MathContext.java | 192 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/ |
D | MathContext.java | 192 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/ |
D | NumberFormatICU.java | 125 case com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN: in getRoundingMode() 218 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN); in setRoundingMode()
|
D | DecimalFormatICU.java | 214 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/ |
D | NumberFormatJDK.java | 162 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/ |
D | IntlTestDecimalFormatAPI.java | 299 … 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()
|
D | RbnfTest.java | 1615 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN); in TestRounding() 1632 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN); in TestRounding()
|
D | DataDrivenNumberFormatTestData.java | 145 roundingModeMap.put("halfEven", BigDecimal.ROUND_HALF_EVEN);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | IntlTestDecimalFormatAPI.java | 296 … 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()
|
D | RbnfTest.java | 1612 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN); in TestRounding() 1629 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN); in TestRounding()
|
D | DataDrivenNumberFormatTestData.java | 142 roundingModeMap.put("halfEven", BigDecimal.ROUND_HALF_EVEN);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | RoundingUtils.java | 101 case BigDecimal.ROUND_HALF_EVEN: in getRoundingDirection()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | RoundingUtils.java | 99 case BigDecimal.ROUND_HALF_EVEN: in getRoundingDirection()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
D | DfpField.java | 46 ROUND_HALF_EVEN, enumConstant 191 this.rMode = RoundingMode.ROUND_HALF_EVEN; in DfpField()
|
D | DfpDec.java | 233 case ROUND_HALF_EVEN: in round()
|
D | Dfp.java | 917 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.py | 166 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/ |
D | DiagBigDecimalTest.java | 716 …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/ |
D | test_time.py | 36 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/ |
D | DiagBigDecimalTest.java | 713 …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/ |
D | py23.py | 441 exponent, rounding=_decimal.ROUND_HALF_EVEN)
|
/external/python/cpython2/Lib/ |
D | decimal.py | 151 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/ |
D | decimal.rst | 93 :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/ |
D | decimal.rst | 98 :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
|