mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 11:37:54 +00:00
more readable intervals
This commit is contained in:
parent
9f1f949d9d
commit
eda6534453
3 changed files with 4 additions and 8 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue