Z3
 
Loading...
Searching...
No Matches
FPRMRef Class Reference
+ Inheritance diagram for FPRMRef:

Public Member Functions

 as_string (self)
 
- Public Member Functions inherited from ExprRef
 as_ast (self)
 
 get_id (self)
 
 sort (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)
 
- Public Member Functions inherited from AstRef
 __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)
 
- Public Member Functions inherited from Z3PPObject
 use_pp (self)
 

Additional Inherited Members

- Data Fields inherited from ExprRef
 ctx
 
- Data Fields inherited from AstRef
 ast = ast
 
 ctx = _get_ctx(ctx)
 
- Protected Member Functions inherited from Z3PPObject
 _repr_html_ (self)
 

Detailed Description

Floating-point rounding mode expressions

Definition at line 9791 of file z3py.py.

Member Function Documentation

◆ as_string()

as_string ( self)
Return a Z3 floating point expression as a Python string.

Definition at line 9794 of file z3py.py.

9794 def as_string(self):
9795 """Return a Z3 floating point expression as a Python string."""
9796 return Z3_ast_to_string(self.ctx_ref(), self.as_ast())
9797
9798
Z3_string Z3_API Z3_ast_to_string(Z3_context c, Z3_ast a)
Convert the given AST node into a string.

Referenced by BitVecNumRef.as_long(), and IntNumRef.as_long().