Lines Matching defs:divide

69  * not used and thus irrelevant.  In the case of divide, the exact
134 * arithmetic results; except that an exact divide may have to use a
1357 * <p>The new {@link #divide(BigDecimal, int, RoundingMode)} method
1379 public BigDecimal divide(BigDecimal divisor, int scale, int roundingMode) {
1382 * since divideAndRound uses divide to generate a value whose
1437 r = mdividend.divide(ldivisor, mq);
1442 mr = mdividend.divide(mdivisor, mq);
1512 public BigDecimal divide(BigDecimal divisor, int scale, RoundingMode roundingMode) {
1513 return divide(divisor, scale, roundingMode.oldMode);
1522 * <p>The new {@link #divide(BigDecimal, RoundingMode)} method
1543 public BigDecimal divide(BigDecimal divisor, int roundingMode) {
1544 return this.divide(divisor, scale, roundingMode);
1562 public BigDecimal divide(BigDecimal divisor, RoundingMode roundingMode) {
1563 return this.divide(divisor, scale, roundingMode.oldMode);
1580 public BigDecimal divide(BigDecimal divisor) {
1605 * precision and do a divide with the UNNECESSARY rounding
1614 quotient = this.divide(divisor, mc);
1622 // divide(BigDecimal, mc) tries to adjust the quotient to
1624 // exact divide method does not have an explicit digit
1647 public BigDecimal divide(BigDecimal divisor, MathContext mc) {
1650 return divide(divisor);
1655 // divide-and-round method, but as this rounds to scale we have
1685 // In order to find out whether the divide generates the exact result,
1686 // we avoid calling the above divide method. 'quotient' holds the
1727 // Perform a divide with enough digits to round to a correct
1734 BigDecimal quotient = this.divide(divisor, new MathContext(maxDigits,
1777 * Perform a normal divide to mc.precision digits. If the
1784 divide(divisor, new MathContext(mc.precision, RoundingMode.DOWN));
1841 * The {@code MathContext} settings affect the implicit divide
2048 acc=ONE.divide(acc, workmc);