Home
last modified time | relevance | path

Searched refs:multiplicand (Results 1 – 1 of 1) sorted by relevance

/libcore/luni/src/main/java/java/math/
DBigDecimal.java932 public BigDecimal multiply(BigDecimal multiplicand) { in multiply() argument
933 long newScale = (long)this.scale + multiplicand.scale; in multiply()
935 if ((this.isZero()) || (multiplicand.isZero())) { in multiply()
940 if(this.bitLength + multiplicand.bitLength < 64) { in multiply()
941 return valueOf(this.smallValue*multiplicand.smallValue, safeLongToInt(newScale)); in multiply()
944 multiplicand.getUnscaledValue()), safeLongToInt(newScale)); in multiply()
960 public BigDecimal multiply(BigDecimal multiplicand, MathContext mc) { in multiply() argument
961 BigDecimal result = multiply(multiplicand); in multiply()