3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-25 10:05:32 +00:00

Added FP to_ieee_bv to fpa_rewriter to enable model evaluation.

This commit is contained in:
Christoph M. Wintersteiger 2015-09-16 12:57:05 +01:00
parent 46e24e094c
commit 79d69cd5f0
8 changed files with 71 additions and 16 deletions

View file

@ -207,6 +207,7 @@ public:
unsigned prev_power_of_two(mpf const & a);
void to_sbv_mpq(mpf_rounding_mode rm, const mpf & x, scoped_mpq & o);
void to_ieee_bv_mpz(const mpf & x, scoped_mpz & o);
protected:
void mk_one(unsigned ebits, unsigned sbits, bool sign, mpf & o) const;