Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/
DDuration.java952 public Duration multipliedBy(long multiplicand) { in multipliedBy() argument
953 if (multiplicand == 0) { in multipliedBy()
956 if (multiplicand == 1) { in multipliedBy()
959 return create(toBigDecimalSeconds().multiply(BigDecimal.valueOf(multiplicand))); in multipliedBy()
/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java1484 public BigDecimal multiply(BigDecimal multiplicand) { in multiply() argument
1485 int productScale = checkScale((long) scale + multiplicand.scale); in multiply()
1487 if ((multiplicand.intCompact != INFLATED)) { in multiply()
1488 return multiply(this.intCompact, multiplicand.intCompact, productScale); in multiply()
1490 return multiply(this.intCompact, multiplicand.intVal, productScale); in multiply()
1493 if ((multiplicand.intCompact != INFLATED)) { in multiply()
1494 return multiply(multiplicand.intCompact, this.intVal, productScale); in multiply()
1496 return multiply(this.intVal, multiplicand.intVal, productScale); in multiply()
1512 public BigDecimal multiply(BigDecimal multiplicand, MathContext mc) { in multiply() argument
1514 return multiply(multiplicand); in multiply()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java249 public java.time.Duration multipliedBy(long multiplicand) { in multipliedBy() argument