mirror of
https://github.com/Z3Prover/z3
synced 2025-04-30 04:15:51 +00:00
cheap equalities
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
ccc8651800
commit
1587497562
5 changed files with 156 additions and 70 deletions
|
@ -259,6 +259,8 @@ struct numeric_pair {
|
|||
|
||||
bool is_neg() const { return x.is_neg() || (x.is_zero() && y.is_neg());}
|
||||
|
||||
void neg() { x.neg(); y.neg(); }
|
||||
|
||||
std::string to_string() const {
|
||||
return std::string("(") + T_to_string(x) + ", " + T_to_string(y) + ")";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue