IntNumeral class
- Inheritance
-
- Object
- AST
- Expr
- Numeral
- AlgebraicNumeral
- IntNumeral
- 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 toa
and less thanb
. -
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 toa
and less than or equal tob
. -
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 toother
. -
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 ifother
is true. -
implies(
Object other) → Expr -
Available on Expr, provided by the ExprExtension extension
Assert that if this expression is trueother
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 toother
. -
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 returnthen
, otherwise returnother
. -
to<
T> () → T -
Available on Expr, provided by the ExprExtension extension
Convert this expression to aT
. -
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 thanother
. -
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 toother
. -
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 toother
. -
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 toother
. -
operator [](
Object index) → Expr -
Available on Expr, provided by the ExprExtension extension
Indexes an array or tuple expression using the givenindex
. -
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