Home
last modified time | relevance | path

Searched defs:roundingMode (Results 1 – 4 of 4) 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.java991 public BigDecimal divide(BigDecimal divisor, int scale, int roundingMode) { in divide()
1018 public BigDecimal divide(BigDecimal divisor, int scale, RoundingMode roundingMode) { in divide()
1074 …tegers(BigInteger scaledDividend, BigInteger scaledDivisor, int scale, RoundingMode roundingMode) { in divideBigIntegers()
1110 …videPrimitiveLongs(long scaledDividend, long scaledDivisor, int scale, RoundingMode roundingMode) { in dividePrimitiveLongs()
1149 public BigDecimal divide(BigDecimal divisor, int roundingMode) { in divide()
1173 public BigDecimal divide(BigDecimal divisor, RoundingMode roundingMode) { in divide()
1869 public BigDecimal setScale(int newScale, RoundingMode roundingMode) { in setScale()
1916 public BigDecimal setScale(int newScale, int roundingMode) { in setScale()
2759 private static int roundingBehavior(int parityBit, int fraction, RoundingMode roundingMode) { in roundingBehavior()
/libcore/luni/src/main/java/java/text/
DDecimalFormat.java512 private transient RoundingMode roundingMode = RoundingMode.HALF_EVEN; field in DecimalFormat
1196 public void setRoundingMode(RoundingMode roundingMode) { in setRoundingMode()
/libcore/luni/src/main/java/libcore/icu/
DNativeDecimalFormat.java559 public void setRoundingMode(RoundingMode roundingMode, double roundingIncrement) { in setRoundingMode()
639 … private static native void setRoundingMode(long addr, int roundingMode, double roundingIncrement); in setRoundingMode()