Searched refs:roundingMode (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/main/java/java/math/ |
D | MathContext.java | 128 final RoundingMode roundingMode; field in MathContext 164 roundingMode = setRoundingMode; in MathContext() 198 roundingMode = RoundingMode.valueOf(str); in MathContext() 237 return roundingMode; in getRoundingMode() 254 && mc.roundingMode == this.roundingMode; // no need for .equals() in equals() 263 return this.precision + roundingMode.hashCode() * 59; in hashCode() 300 "roundingMode=" + roundingMode.toString(); in toString() 322 if (roundingMode == null) { in readObject()
|
D | BigDecimal.java | 613 … rs = divideAndRound(rs, LONG_TEN_POWERS_TABLE[drop], mc.roundingMode.oldMode); in BigDecimal() 678 rb = divideAndRoundByTenPow(rb, drop, mc.roundingMode.oldMode); in BigDecimal() 692 … rs = divideAndRound(rs, LONG_TEN_POWERS_TABLE[drop], mc.roundingMode.oldMode); in BigDecimal() 1040 int mode = mc.roundingMode.oldMode; in BigDecimal() 1061 … compactVal = divideAndRound(compactVal, LONG_TEN_POWERS_TABLE[drop], mc.roundingMode.oldMode); in BigDecimal() 1145 int mode = mc.roundingMode.oldMode; in BigDecimal() 1211 … compactVal = divideAndRound(compactVal, LONG_TEN_POWERS_TABLE[drop], mc.roundingMode.oldMode); in BigDecimal() 1246 int mode = mc.roundingMode.oldMode; in BigDecimal() 1270 val = divideAndRound(val, LONG_TEN_POWERS_TABLE[drop], mc.roundingMode.oldMode); in BigDecimal() 1654 public BigDecimal divide(BigDecimal divisor, int scale, int roundingMode) { in divide() argument [all …]
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormat.java | 4309 return roundingMode; in getRoundingMode() 4345 public void setRoundingMode(RoundingMode roundingMode) { in setRoundingMode() argument 4346 if (roundingMode == null) { in setRoundingMode() 4350 this.roundingMode = roundingMode; in setRoundingMode() 4353 icuDecimalFormat.setRoundingMode(convertRoundingMode(roundingMode)); in setRoundingMode() 4434 fields.put("roundingMode", roundingMode); in writeObject() 4587 RoundingMode roundingMode = in readObject() local 4589 if (convertRoundingMode(roundingMode) != icuDecimalFormat.getRoundingMode()) { in readObject() 4590 setRoundingMode(roundingMode); in readObject() 4890 private RoundingMode roundingMode = RoundingMode.HALF_EVEN; field in DecimalFormat
|
D | NumberFormat.java | 961 public void setRoundingMode(RoundingMode roundingMode) { in setRoundingMode() argument
|
/libcore/ojluni/annotations/hiddenapi/java/text/ |
D | NumberFormat.java | 200 public void setRoundingMode(java.math.RoundingMode roundingMode) { in setRoundingMode() argument
|
/libcore/ojluni/annotations/sdk/nullability/java/text/ |
D | NumberFormat.annotated.java | 128 public void setRoundingMode(@libcore.util.Nullable java.math.RoundingMode roundingMode) { throw new… in setRoundingMode() argument
|