sealed abstract class Constant[A] extends Expr

Constant expressions are leaf nodes, contains literal numbers.

Linear Supertypes
Expr, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Constant
  2. Expr
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def flagBits: Int
    Attributes
    protected
    Definition Classes
    Expr
  2. abstract def signum: Int

    Returns an integer with the same sign as this expression.

    Returns an integer with the same sign as this expression.

    Definition Classes
    Expr
  3. abstract def toBigDecimal(digits: Int): BigDecimal

    Returns an asbolute approximation to this expression as a BigDecimal that is accurate up to +/- 10^-digits.

    Returns an asbolute approximation to this expression as a BigDecimal that is accurate up to +/- 10^-digits.

    Definition Classes
    Expr
  4. abstract def upperBound: BitBound

    Returns an upper bound on the absolute value of this expression as a bit bound.

    Returns an upper bound on the absolute value of this expression as a bit bound.

    Definition Classes
    Expr
  5. abstract def value: A

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bfmssBound: BitBound

    Returns the BFMSS separation bound.

    Returns the BFMSS separation bound.

    Definition Classes
    Expr
  6. def children: List[Expr]

    Returns a list of the children of this expression.

    Returns a list of the children of this expression. A child is a sub-expression required by this expression. For instance, Add has 2 children, the left-hand and right-hand side sub-expressions. A numeric literal expression, such as ConstantDouble or ConstantRational has no children.

    Definition Classes
    ConstantExpr
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def degreeBound: Long

    Returns a bound on the degree of this expression.

    Returns a bound on the degree of this expression.

    Definition Classes
    Expr
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def flags: Flags

    A set of flags we can quickly compute for an Algebraic expression.

    A set of flags we can quickly compute for an Algebraic expression.

    Definition Classes
    Expr
    Note

    we have to do this round-about trip between flagsBits and flags because of

  13. def getBound(zbf: ZeroBoundFunction): Bound

    Returns the bound for zbf, using a cached value if it is available.

    Returns the bound for zbf, using a cached value if it is available.

    Definition Classes
    Expr
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def liYapBound: BitBound

    Returns the Li & Yap separation bound.

    Returns the Li & Yap separation bound.

    Definition Classes
    Expr
  18. def lowerBound: BitBound

    Returns a lower bound on the absolute value of this expression as a bit bound.

    Returns a lower bound on the absolute value of this expression as a bit bound.

    TODO: We could do better here wrt to addition (need a fastSignum: Option[Int])

    Definition Classes
    Expr
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. def separationBound: BitBound

    Returns a separation bound for this expression as a bit bound.

    Returns a separation bound for this expression as a bit bound. A separation bound is a lower-bound on the value of this expression that is only valid if this expression is not 0. This bound can thus be used to determine if this value is actually 0 and, if not, the sign, by simply approximating the expression with enough accuracy that it falls on one side or the other of the separation bound.

    Definition Classes
    Expr
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Expr

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped