Wrapper for Z3 Real Closed Field (RCF) numerals. More...
#include <z3++.h>
Public Member Functions | |
| rcf_num (context &c, Z3_rcf_num n) | |
| rcf_num (context &c, int val) | |
| rcf_num (context &c, char const *val) | |
| rcf_num (rcf_num const &other) | |
| rcf_num & | operator= (rcf_num const &other) |
| ~rcf_num () | |
| operator Z3_rcf_num () const | |
| Z3_context | ctx () const |
| std::string | to_string (bool compact=false) const |
| Return string representation of the RCF numeral. | |
| std::string | to_decimal (unsigned precision=10) const |
| Return decimal string representation with given precision. | |
| rcf_num | operator+ (rcf_num const &other) const |
| rcf_num | operator- (rcf_num const &other) const |
| rcf_num | operator* (rcf_num const &other) const |
| rcf_num | operator/ (rcf_num const &other) const |
| rcf_num | operator- () const |
| rcf_num | power (unsigned k) const |
| Return the power of this number raised to k. | |
| rcf_num | inv () const |
| Return the multiplicative inverse (1/this). | |
| bool | operator< (rcf_num const &other) const |
| bool | operator> (rcf_num const &other) const |
| bool | operator<= (rcf_num const &other) const |
| bool | operator>= (rcf_num const &other) const |
| bool | operator== (rcf_num const &other) const |
| bool | operator!= (rcf_num const &other) const |
| bool | is_rational () const |
| bool | is_algebraic () const |
| bool | is_infinitesimal () const |
| bool | is_transcendental () const |
Friends | |
| std::ostream & | operator<< (std::ostream &out, rcf_num const &n) |
Wrapper for Z3 Real Closed Field (RCF) numerals.
RCF numerals can represent:
|
inline |
Definition at line 4840 of file z3++.h.
Referenced by inv(), operator!=(), operator*(), operator+(), operator-(), operator-(), operator/(), operator<(), operator<<, operator<=(), operator=(), operator==(), operator>(), operator>=(), power(), and rcf_num().
|
inline |
Definition at line 4842 of file z3++.h.
|
inline |
Definition at line 4846 of file z3++.h.
|
inline |
Definition at line 4850 of file z3++.h.
|
inline |
Definition at line 4866 of file z3++.h.
|
inline |
Return the multiplicative inverse (1/this).
Definition at line 4928 of file z3++.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 4900 of file z3++.h.
Definition at line 4888 of file z3++.h.
|
inline |
Definition at line 4912 of file z3++.h.
Definition at line 4894 of file z3++.h.
Definition at line 4906 of file z3++.h.
|
inline |
|
inline |
Definition at line 4856 of file z3++.h.
|
inline |
|
inline |
|
inline |
|
inline |
Return the power of this number raised to k.
Definition at line 4920 of file z3++.h.
|
inline |
|
inline |
Return string representation of the RCF numeral.
Definition at line 4876 of file z3++.h.
Referenced by operator<<.