Home
last modified time | relevance | path

Searched defs:roundingMode (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/main/java/java/math/
DMathContext.java69 private final RoundingMode roundingMode; field in MathContext
101 public MathContext(int precision, RoundingMode roundingMode) { in MathContext()
DBigDecimal.java997 public BigDecimal divide(BigDecimal divisor, int scale, int roundingMode) { in divide()
1024 public BigDecimal divide(BigDecimal divisor, int scale, RoundingMode roundingMode) { in divide()
1083 …tegers(BigInteger scaledDividend, BigInteger scaledDivisor, int scale, RoundingMode roundingMode) { in divideBigIntegers()
1119 …videPrimitiveLongs(long scaledDividend, long scaledDivisor, int scale, RoundingMode roundingMode) { in dividePrimitiveLongs()
1157 public BigDecimal divide(BigDecimal divisor, int roundingMode) { in divide()
1181 public BigDecimal divide(BigDecimal divisor, RoundingMode roundingMode) { in divide()
1877 public BigDecimal setScale(int newScale, RoundingMode roundingMode) { in setScale()
1924 public BigDecimal setScale(int newScale, int roundingMode) { in setScale()
2812 private static int roundingBehavior(int parityBit, int fraction, RoundingMode roundingMode) { in roundingBehavior()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java4160 public void setRoundingMode(RoundingMode roundingMode) { in setRoundingMode()
4395 RoundingMode roundingMode = in readObject() local
4697 private RoundingMode roundingMode = RoundingMode.HALF_EVEN; field in DecimalFormat
DNumberFormat.java821 public void setRoundingMode(RoundingMode roundingMode) { in setRoundingMode()
/libcore/ojluni/annotations/sdk/nullability/java/text/
DNumberFormat.annotated.java128 …libcore.util.Nullable java.math.RoundingMode roundingMode) { throw new RuntimeException("Stub!"); } in setRoundingMode()
/libcore/ojluni/annotations/hiddenapi/java/text/
DNumberFormat.java200 public void setRoundingMode(java.math.RoundingMode roundingMode) { in setRoundingMode()