Wrapper for Z3 Real Closed Field (RCF) numerals. More...
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. More... | |
| std::string | to_decimal (unsigned precision=10) const |
| Return decimal string representation with given precision. More... | |
| 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. More... | |
| rcf_num | inv () const |
| Return the multiplicative inverse (1/this). More... | |
| 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:
Definition at line 4840 of file z3++.h.
Referenced by rcf_num::inv(), rcf_num::operator*(), rcf_num::operator+(), rcf_num::operator-(), rcf_num::operator/(), and rcf_num::power().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 4856 of file z3++.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.10