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

Bugfix for mpf roundToIntegral.

Partially fixes #69
This commit is contained in:
Christoph M. Wintersteiger 2015-05-05 23:53:33 +01:00
parent 57af3a4c6e
commit 73eb7cbf5c
4 changed files with 87 additions and 15 deletions

View file

@ -208,7 +208,9 @@ public:
void to_sbv_mpq(mpf_rounding_mode rm, const mpf & x, scoped_mpq & o);
protected:
protected:
void mk_one(unsigned ebits, unsigned sbits, mpf & o) const;
bool has_bot_exp(mpf const & x);
bool has_top_exp(mpf const & x);