3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-05 14:55:45 +00:00

normalize more pretty printing

This commit is contained in:
Nikolaj Bjorner 2022-08-17 08:24:41 -07:00
parent 309473edad
commit 31ffe89480
3 changed files with 7 additions and 4 deletions

View file

@ -118,10 +118,11 @@ namespace polysat {
};
inline std::ostream& operator<<(std::ostream& os, eval_interval const& i) {
auto& m = i.hi().manager();
if (i.is_full())
return os << "full";
else
return os << i.symbolic() << " := [" << i.lo_val() << ";" << i.hi_val() << "[";
return os << i.symbolic() << " := [" << m.normalize(i.lo_val()) << ";" << m.normalize(i.hi_val()) << "[";
}