Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/
DDuration.java950 public Duration multipliedBy(long multiplicand) { in multipliedBy() argument
951 if (multiplicand == 0) { in multipliedBy()
954 if (multiplicand == 1) { in multipliedBy()
957 return create(toSeconds().multiply(BigDecimal.valueOf(multiplicand))); in multipliedBy()
/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 long unscaledValue = this.smallValue * multiplicand.smallValue; in multiply()
944 (Math.signum(smallValue) * Math.signum(multiplicand.smallValue) > 0); in multiply()
950 multiplicand.getUnscaledValue()), safeLongToInt(newScale)); in multiply()
966 public BigDecimal multiply(BigDecimal multiplicand, MathContext mc) { in multiply() argument
967 BigDecimal result = multiply(multiplicand); in multiply()
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java249 public java.time.Duration multipliedBy(long multiplicand) { in multipliedBy() argument
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDuration.java2237 …public void multipliedBy(long seconds, int nanos, int multiplicand, long expectedSeconds, int expe… in multipliedBy() argument
2239 t = t.multipliedBy(multiplicand); in multipliedBy()