mirror of
https://github.com/Z3Prover/z3
synced 2025-06-21 21:33:39 +00:00
Bugfix for bv*div0 model construction.
This commit is contained in:
parent
88f007e9da
commit
bb5118acbb
4 changed files with 27 additions and 6 deletions
|
@ -354,6 +354,21 @@ public:
|
|||
bool has_sign_bit(rational const & n, unsigned bv_size) const;
|
||||
bool mult_inverse(rational const & n, unsigned bv_size, rational & result);
|
||||
|
||||
bool is_considered_uninterpreted(func_decl * f) {
|
||||
if (f->get_family_id() != get_family_id())
|
||||
return false;
|
||||
switch (f->get_decl_kind()) {
|
||||
case OP_BSDIV0:
|
||||
case OP_BUDIV0:
|
||||
case OP_BSREM0:
|
||||
case OP_BUREM0:
|
||||
case OP_BSMOD0:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
class bv_util : public bv_recognizers {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue