Searched refs:multiplicand (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/main/java/java/time/ |
D | Duration.java | 953 public Duration multipliedBy(long multiplicand) { in multipliedBy() argument 954 if (multiplicand == 0) { in multipliedBy() 957 if (multiplicand == 1) { in multipliedBy() 960 return create(toBigDecimalSeconds().multiply(BigDecimal.valueOf(multiplicand))); in multipliedBy()
|
/libcore/ojluni/src/main/java/java/math/ |
D | BigDecimal.java | 1580 public BigDecimal multiply(BigDecimal multiplicand) { in multiply() argument 1581 int productScale = checkScale((long) scale + multiplicand.scale); in multiply() 1583 if ((multiplicand.intCompact != INFLATED)) { in multiply() 1584 return multiply(this.intCompact, multiplicand.intCompact, productScale); in multiply() 1586 return multiply(this.intCompact, multiplicand.intVal, productScale); in multiply() 1589 if ((multiplicand.intCompact != INFLATED)) { in multiply() 1590 return multiply(multiplicand.intCompact, this.intVal, productScale); in multiply() 1592 return multiply(this.intVal, multiplicand.intVal, productScale); in multiply() 1606 public BigDecimal multiply(BigDecimal multiplicand, MathContext mc) { in multiply() argument 1608 return multiply(multiplicand); in multiply() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | Duration.java | 249 public java.time.Duration multipliedBy(long multiplicand) { in multipliedBy() argument
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKDuration.java | 2264 …public void multipliedBy(long seconds, int nanos, int multiplicand, long expectedSeconds, int expe… in multipliedBy() argument 2266 t = t.multipliedBy(multiplicand); in multipliedBy()
|