Searched refs:multiplicand (Results 1 – 3 of 3) sorted by relevance
952 public Duration multipliedBy(long multiplicand) { in multipliedBy() argument953 if (multiplicand == 0) { in multipliedBy()956 if (multiplicand == 1) { in multipliedBy()959 return create(toBigDecimalSeconds().multiply(BigDecimal.valueOf(multiplicand))); in multipliedBy()
1484 public BigDecimal multiply(BigDecimal multiplicand) { in multiply() argument1485 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() argument1514 return multiply(multiplicand); in multiply()[all …]
249 public java.time.Duration multipliedBy(long multiplicand) { in multipliedBy() argument