Examples of Real


Examples of eu.admire.dispel.types.Real

        if (result == null) result = caseCommentable(char_);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TypesPackage.REAL: {
        Real real = (Real)theEObject;
        T result = caseReal(real);
        if (result == null) result = casePrimitiveType(real);
        if (result == null) result = caseType(real);
        if (result == null) result = caseTypeReference(real);
        if (result == null) result = caseCommentable(real);
View Full Code Here

Examples of hudson.remoting.PipeWindow.Real

                    return w;
                }
            }
            PipeWindow w;
            if (remoteCapability.supportsPipeThrottling()) {
                w = new Real(k, PIPE_WINDOW_SIZE);
            } else {
                w = new PipeWindow.Fake();
            }
            pipeWindows.put(k, new WeakReference<PipeWindow>(w));
            return w;
View Full Code Here

Examples of net.sf.kpex.prolog.Real

class RealToken extends Fun
{
  public RealToken(double i)
  {
    super("realToken", new Real(i));
  }
View Full Code Here

Examples of net.sf.kpex.prolog.Real

        {
          T = new Int((long) r);
        }
        else
        {
          T = new Real(r);
        }
      }
      catch (NumberFormatException e)
      {}
    }
View Full Code Here

Examples of net.sf.kpex.prolog.Real

      default:
        IO.errmes("bad arithmetic operation <" + op + "> on " + x + " and " + y);
        return 0;
    }
    Num R = Math.floor(r) == r ? (Num) new Int((long) r) : (Num) new Real(r);
    return putArg(3, R, p);
  }
View Full Code Here

Examples of org.jscience.mathematics.number.Real

        {
            System.out.println("");
            System.out.println("Numbers");

            Real two = Real.valueOf(2); // 2.0000..00
            Real three = Real.valueOf(3);
            Real.setExactPrecision(100); // Assumes 100 exact digits for exact numbers.

            System.out.println("2/3       = " + two.divide(three));
            Real sqrt2 = two.sqrt();
            System.out.println("sqrt(2)   = " + sqrt2);
            System.out.println("Precision = " + sqrt2.getPrecision()
                    + " digits.");

            LargeInteger dividend = LargeInteger.valueOf("3133861182986538201");
            LargeInteger divisor = LargeInteger.valueOf("25147325102501733369");
            Rational rational = Rational.valueOf(dividend, divisor);
View Full Code Here

Examples of ral.Real

public class Decimal {

  private Real value;

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

Examples of ral.Real

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

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

Examples of ral.Real

  public Decimal(double value) {
    this(new BigDecimal(value));
  }

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

Examples of ral.Real

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

  public Decimal(Real value) {
    this.value = new Real(value);
  }
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.