3
0
Fork 0
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:
Lev Nachmanson 2020-06-09 17:14:32 -07:00
parent ccc8651800
commit 1587497562
5 changed files with 156 additions and 70 deletions

View file

@ -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) + ")";
}