Public Member Functions | |
as_long (self) | |
as_string (self) | |
as_binary_string (self) | |
![]() | |
sort (self) | |
is_int (self) | |
is_real (self) | |
__add__ (self, other) | |
__radd__ (self, other) | |
__mul__ (self, other) | |
__rmul__ (self, other) | |
__sub__ (self, other) | |
__rsub__ (self, other) | |
__pow__ (self, other) | |
__rpow__ (self, other) | |
__div__ (self, other) | |
__truediv__ (self, other) | |
__rdiv__ (self, other) | |
__rtruediv__ (self, other) | |
__mod__ (self, other) | |
__rmod__ (self, other) | |
__neg__ (self) | |
__pos__ (self) | |
__le__ (self, other) | |
__lt__ (self, other) | |
__gt__ (self, other) | |
__ge__ (self, other) | |
![]() | |
as_ast (self) | |
get_id (self) | |
sort_kind (self) | |
__eq__ (self, other) | |
__hash__ (self) | |
__ne__ (self, other) | |
params (self) | |
decl (self) | |
num_args (self) | |
arg (self, idx) | |
children (self) | |
from_string (self, s) | |
serialize (self) | |
![]() | |
__init__ (self, ast, ctx=None) | |
__del__ (self) | |
__deepcopy__ (self, memo={}) | |
__str__ (self) | |
__repr__ (self) | |
__nonzero__ (self) | |
__bool__ (self) | |
sexpr (self) | |
ctx_ref (self) | |
eq (self, other) | |
translate (self, target) | |
__copy__ (self) | |
hash (self) | |
![]() | |
use_pp (self) | |
Additional Inherited Members | |
![]() | |
ctx = _coerce_exprs(self, other) | |
![]() | |
ctx | |
![]() | |
ast = ast | |
ctx = _get_ctx(ctx) | |
![]() | |
_repr_html_ (self) | |
as_binary_string | ( | self | ) |
Return a Z3 integer numeral as a Python binary string. >>> v = IntVal(10) >>> v.as_binary_string() '1010'
Definition at line 3033 of file z3py.py.
as_long | ( | self | ) |
Return a Z3 integer numeral as a Python long (bignum) numeral. >>> v = IntVal(1) >>> v + 1 1 + 1 >>> v.as_long() + 1 2
Definition at line 3012 of file z3py.py.
Referenced by BitVecNumRef.as_signed_long().
as_string | ( | self | ) |
Return a Z3 integer numeral as a Python string. >>> v = IntVal(100) >>> v.as_string() '100'
Definition at line 3025 of file z3py.py.
Referenced by BitVecNumRef.as_long(), and IntNumRef.as_long().