3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-04-22 20:03:30 +00:00

improved dio handler

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2025-03-10 07:06:36 -10:00 committed by Lev Nachmanson
parent 30021dd74f
commit 6f7b749ff9
11 changed files with 885 additions and 544 deletions

View file

@ -239,6 +239,8 @@ struct numeric_pair {
void neg() { x.neg(); y.neg(); }
std::string to_string() const {
if (y.is_zero())
return T_to_string(x);
return std::string("(") + T_to_string(x) + ", " + T_to_string(y) + ")";
}