public add ( java arg0 ) : global::java.math.BigDecimal | ||
arg0 | java | |
return | global::java.math.BigDecimal |
/** * Calculates the increment of this rational number (+ 1). * * <p>This is functionally identical to * <code>this.add(BigRational.ONE)</code> * but slightly faster.</p> * * <p>The result has no loss of precision.</p> * * @return the incremented rational number */ public BigRational increment() { return(of(numerator.add(denominator), denominator)); }
/** * Calculates the addition of the given complex value to this complex number. * * <p>This methods <strong>does not</strong> modify this instance.</p> * * @param value the {@link BigComplex} value to add * @return the calculated {@link BigComplex} result */ public BigComplex add(BigComplex value) { return(valueOf( re.add(value.re), im.add(value.im))); }