3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-23 11:37:54 +00:00

more readable intervals

This commit is contained in:
Jakob Rath 2022-12-12 16:41:18 +01:00
parent 9f1f949d9d
commit eda6534453
3 changed files with 4 additions and 8 deletions

View file

@ -1335,12 +1335,7 @@ namespace polysat {
}
std::ostream& num_pp::display(std::ostream& out) const {
rational const& p = rational::power_of_two(s.size(var));
if (val > mod(-val, p))
out << -mod(-val, p);
else
out << val;
return out;
return out << dd::val_pp(s.var2pdd(var), val, require_parens);
}
void solver::collect_statistics(statistics& st) const {