Public Member Functions | |
def | as_long |
def | as_signed_long |
def | as_string |
![]() | |
def | sort |
def | size |
def | __add__ |
def | __radd__ |
def | __mul__ |
def | __rmul__ |
def | __sub__ |
def | __rsub__ |
def | __or__ |
def | __ror__ |
def | __and__ |
def | __rand__ |
def | __xor__ |
def | __rxor__ |
def | __pos__ |
def | __neg__ |
def | __invert__ |
def | __div__ |
def | __truediv__ |
def | __rdiv__ |
def | __rtruediv__ |
def | __mod__ |
def | __rmod__ |
def | __le__ |
def | __lt__ |
def | __gt__ |
def | __ge__ |
def | __rshift__ |
def | __lshift__ |
def | __rrshift__ |
def | __rlshift__ |
![]() | |
def | as_ast |
def | get_id |
def | sort |
def | sort_kind |
def | __eq__ |
def | __hash__ |
def | __ne__ |
def | params |
def | decl |
def | num_args |
def | arg |
def | children |
![]() | |
def | __init__ |
def | __del__ |
def | __deepcopy__ |
def | __str__ |
def | __repr__ |
def | __eq__ |
def | __hash__ |
def | __nonzero__ |
def | __bool__ |
def | sexpr |
def | as_ast |
def | get_id |
def | ctx_ref |
def | eq |
def | translate |
def | __copy__ |
def | hash |
![]() | |
def | use_pp |
Additional Inherited Members | |
![]() | |
ast | |
ctx | |
def as_signed_long | ( | self | ) |
Return a Z3 bit-vector numeral as a Python long (bignum) numeral. The most significant bit is assumed to be the sign. >>> BitVecVal(4, 3).as_signed_long() -4 >>> BitVecVal(7, 3).as_signed_long() -1 >>> BitVecVal(3, 3).as_signed_long() 3 >>> BitVecVal(2**32 - 1, 32).as_signed_long() -1 >>> BitVecVal(2**64 - 1, 64).as_signed_long() -1
def as_string | ( | self | ) |
Definition at line 3663 of file z3py.py.
Referenced by BitVecNumRef.as_long(), and FiniteDomainNumRef.as_long().