class
Z3::RoundingModeExpr
- Z3::RoundingModeExpr
- Reference
- Object
Overview
One of the five rounding modes, or a variable which the solver resolves to one
of them. RoundingModeSort is where the five come from.
Defined in:
z3/rounding_mode_expr.crConstructors
Instance Method Summary
-
#!=(other)
Returns
trueif this object is not equal to other. -
#==(other)
Returns
false(other can only be aValuehere). - #inspect(io)
-
#same_term?(other : AnyExpr)
Whether this is the same term as
other. - #simplify
- #sort
- #to_s(io)
- #to_unsafe : LibZ3::Ast
Constructor Detail
Instance Method Detail
Returns true if this object is not equal to other.
By default this method is implemented as !(self == other)
so there's no need to override this unless there's a more efficient
way to do it.
Returns false (other can only be a Value here).
Whether this is the same term as other. Z3 hash-conses its expressions, so
this is structural equality - Z3.int("a") + 1 built twice is one term. It is
a named method rather than #== because #== builds a Z3 expression instead of
answering a Crystal Bool - see the Limitations section of the README.