mirror of
https://github.com/Z3Prover/z3
synced 2025-08-26 13:06:05 +00:00
Assorted fixes for floats (#6968)
* Improve4be26eb543
* Add-on to0f4f32c5d0
* 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:
parent
bd8e5eee4b
commit
9d57bdd2ef
6 changed files with 162 additions and 90 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue