Package ral

Examples of ral.Real.sqrt()


   * Calculates square root of {@code this.value} according to {@link ral.Real#sqrt()}.
   * @return new instance of {@code Decimal} which value is square root of {@code this.value}.
   */
  public Decimal sqrt() {
    Real result = new Real(this.value);
    result.sqrt();
    return new Decimal(result);
  }

}
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.