Examples of Real


Examples of ral.Real

  public Decimal(Real value) {
    this.value = new Real(value);
  }

  public Decimal(String value) {
    this.value = new Real(value);
  }
View Full Code Here

Examples of ral.Real

  public Decimal(String value) {
    this.value = new Real(value);
  }

  public Decimal(int value) {
    this.value = new Real(value);
  }
View Full Code Here

Examples of ral.Real

  public Decimal(int value) {
    this.value = new Real(value);
  }

  public Decimal(long value) {
    this.value = new Real(value);
  }
View Full Code Here

Examples of ral.Real

  public Decimal(long value) {
    this.value = new Real(value);
  }

  public Decimal(String value, int base) {
    this.value = new Real(value, base);
  }
View Full Code Here

Examples of ral.Real

  public Decimal(String value, int base) {
    this.value = new Real(value, base);
  }

  public Decimal(byte[] date, int offset) {
    this.value = new Real(date, offset);
  }
View Full Code Here

Examples of ral.Real

   * Executes addition and returns value of {@code this.value} + {@code other.value} according to {@link ral.Real#add(ral.Real)}.
   * @param other summand.
   * @return new instance of {@code Decimal} which value is {@code this.value} + {@code other.value}.
   */
  public Decimal add(final Decimal other) {
    Real result = new Real(this.value);
    result.add(other.value);
    return new Decimal(result);
  }
View Full Code Here

Examples of ral.Real

   * Executes subtraction and returns value of {@code this.value} - {@code other.value} according to {@link ral.Real#sub(ral.Real)}.
   * @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);
  }
View Full Code Here

Examples of ral.Real

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

Examples of ral.Real

  /**
   * 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.