3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-26 13:06:05 +00:00

Assorted fixes for floats (#6968)

* Improve 4be26eb543

* Add-on to 0f4f32c5d0

* Fix mk_numeral

* Fix corner-case in fp.div

* Fixes for corner-cases in mk_to_fp_(un)signed

* Fix out-of-range results in mpf_manager::fma

* Further adjustments for fp.to_fp_(un)signed

* fp.to_fp from real can't be NaN

* fp.to_fp from reals: add bounds

* Fix NaN encodings in theory_fpa.

* Fix fp.fma rounding with tiny floats

* Fix literal creation order in theory_fpa
This commit is contained in:
Christoph M. Wintersteiger 2023-10-30 00:29:42 +00:00 committed by GitHub
parent bd8e5eee4b
commit 9d57bdd2ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 162 additions and 90 deletions

View file

@ -121,10 +121,11 @@ namespace smt {
void attach_new_th_var(enode * n);
void assert_cnstr(expr * e);
enode* ensure_enode(expr* e);
enode* get_root(expr* a) { return ensure_enode(a)->get_root(); }
app* get_ite_value(expr* e);
void mk_bv_nan(sort * s, expr_ref & result);
};
};