IntNumeral class

Inheritance
Available extensions

Constructors

IntNumeral(BigInt value)
factory
IntNumeral.from(int value)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isInf bool
no setterinherited
isNaN bool
no setterinherited
isNegative bool
no setterinherited
isNormal bool
no setterinherited
isPositive bool
no setterinherited
isSubnormal bool
no setterinherited
isZero bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sign int
no setterinherited
sort IntSort
no setteroverride
value BigInt
final

Methods

between(Object a, Object b) Expr

Available on Expr, provided by the ExprExtension extension

Create a predicate that checks if this expression is greater or equal to a and less than b.
betweenIn(Object a, Object b) Expr

Available on Expr, provided by the ExprExtension extension

Create a predicate that checks if this expression is greater or equal to a and less than or equal to b.
build(Context c) Z3_ast
inherited
declare() → A

Available on A, provided by the ASTExtension extension

Declare this AST element in the current context if it hasn't already.
eq(Object other) Expr

Available on Expr, provided by the ExprExtension extension

Predicate that checks if this expression is equal to other.
equals(Numeral other) bool
inherited
iff(Object other) Expr

Available on Expr, provided by the ExprExtension extension

Assert that this expression is true if and only if other is true.
implies(Object other) Expr

Available on Expr, provided by the ExprExtension extension

Assert that if this expression is true other must also be true.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notEq(Object other) Expr

Available on Expr, provided by the ExprExtension extension

Predicate that checks if this expression is not equal to other.
notEquals(Numeral other) bool
inherited
pow(int k) AlgebraicNumeral
inherited
root(int k) AlgebraicNumeral
inherited
sqrt() AlgebraicNumeral
inherited
thenElse(Object a, Object b) Expr

Available on Expr, provided by the ExprExtension extension

If this is true then return then, otherwise return other.
to<T>() → T

Available on Expr, provided by the ExprExtension extension

Convert this expression to a T.
toBigInt() BigInt
inherited
toBigInt() BigInt

Available on Expr, provided by the ExprExtension extension

Convert this expression to a BigInt, requires that this expression is a Numeral.
toBool() bool

Available on Expr, provided by the ExprExtension extension

Convert this expression to a bool, requires that this expression is either trueExpr or falseExpr.
toDouble() double
inherited
toDouble() double

Available on Expr, provided by the ExprExtension extension

Convert this expression to a double, requires that this expression is a Numeral.
toInt() int
inherited
toInt() int

Available on Expr, provided by the ExprExtension extension

Convert this expression to an int, requires that this expression is a Numeral.
toMap() Map<String, Expr>

Available on Expr, provided by the ExprExtension extension

Convert this expression to a Map, requires that this expression constructs a datatype.
toRat() Rat
override
toRat() Rat

Available on Expr, provided by the ExprExtension extension

Convert this expression to a Rat, requires that this expression is a Numeral.
toString() String
A string representation of this object.
inherited

Operators

operator %(Object other) Expr

Available on Expr, provided by the ExprExtension extension

Arithmetic modulo operator. This is not an euclidean modulo, it is equivalent to the % operator in Dart.
operator &(Object other) Expr

Available on Expr, provided by the ExprExtension extension

Boolean AND operator.
operator *(AlgebraicNumeral other) AlgebraicNumeral
inherited
operator *(Object other) Expr

Available on Expr, provided by the ExprExtension extension

Arithmetic multiplication operator.
operator +(AlgebraicNumeral other) AlgebraicNumeral
inherited
operator +(Object other) Expr

Available on Expr, provided by the ExprExtension extension

Arithmetic addition operator.
operator -(AlgebraicNumeral other) AlgebraicNumeral
inherited
operator -(Object other) Expr

Available on Expr, provided by the ExprExtension extension

Arithmetic subtraction operator.
operator /(AlgebraicNumeral other) AlgebraicNumeral
inherited
operator /(Object other) Expr

Available on Expr, provided by the ExprExtension extension

Arithmetic division operator.
operator <(AlgebraicNumeral other) bool
inherited
operator <(Object other) Expr

Available on Expr, provided by the ExprExtension extension

Predicate that checks if this expression is less than other.
operator <=(AlgebraicNumeral other) bool
inherited
operator <=(Object other) Expr

Available on Expr, provided by the ExprExtension extension

Predicate that checks if this expression is less or equal to other.
operator ==(Object other) bool
The equality operator.
inherited
operator >(AlgebraicNumeral other) bool
inherited
operator >(Object other) Expr

Available on Expr, provided by the ExprExtension extension

Predicate that checks if this expression is equal to other.
operator >=(AlgebraicNumeral other) bool
inherited
operator >=(Object other) Expr

Available on Expr, provided by the ExprExtension extension

Predicate that checks if this expression is greater or equal to other.
operator [](Object index) Expr

Available on Expr, provided by the ExprExtension extension

Indexes an array or tuple expression using the given index.
operator ^(Object other) Expr

Available on Expr, provided by the ExprExtension extension

Boolean XOR operator.
operator unary-() Expr

Available on Expr, provided by the ExprExtension extension

Negate this expression.
operator |(Object other) Expr

Available on Expr, provided by the ExprExtension extension

Boolean OR operator.
operator ~() Expr

Available on Expr, provided by the ExprExtension extension

Boolean NOT operator.

Static Properties

one IntNumeral
no setter
zero IntNumeral
no setter