Package ral

Examples of ral.Real.sub()


   * @param other subtrahend.
   * @return new instance of {@code Decimal} which value is {@code this.value} - {@code other.value}.
   */
  public Decimal sub(final Decimal other) {
    Real result = new Real(this.value);
    result.sub(other.value);
    return new Decimal(result);
  }

  /**
   * Calculates square of {@code this.value} according to {@link ral.Real#sqr()}.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.