3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-08 04:01:22 +00:00

Fix for partially interpreted floating-point functions. Relates to #2596, #2631.

This commit is contained in:
Christoph M. Wintersteiger 2019-10-25 15:59:19 +01:00
parent 1d4f8c0168
commit 2308d8af09
No known key found for this signature in database
GPG key ID: BCF6360F86294467
7 changed files with 118 additions and 86 deletions

View file

@ -163,8 +163,6 @@ class fpa_decl_plugin : public decl_plugin {
unsigned mk_id(mpf const & v);
void recycled_id(unsigned id);
bool is_considered_uninterpreted(func_decl * f) override { return false; }
public:
fpa_decl_plugin();
@ -199,6 +197,8 @@ public:
void del(parameter const & p) override;
parameter translate(parameter const & p, decl_plugin & target) override;
bool is_considered_uninterpreted(func_decl * f) override;
};
class fpa_util {
@ -358,6 +358,8 @@ public:
bool contains_floats(ast * a);
bool is_considered_uninterpreted(func_decl* f, unsigned n, expr* const* args);
MATCH_TERNARY(is_fp);
};