mirror of
https://github.com/Z3Prover/z3
synced 2025-05-07 07:45:46 +00:00
initial overflow test
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
99e2247ccb
commit
a4fc63c542
6 changed files with 47 additions and 8 deletions
|
@ -202,6 +202,9 @@ namespace polysat {
|
|||
return ~ule(b, a);
|
||||
}
|
||||
|
||||
signed_constraint constraint_manager::mul_ovfl(pdd const& a, pdd const& b) {
|
||||
return { dedup(alloc(mul_ovfl_constraint, *this, a, b)), true };
|
||||
}
|
||||
|
||||
|
||||
// To do signed comparison of bitvectors, flip the msb and do unsigned comparison:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue