mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 03:45:51 +00:00
Bugfixes for fpa2bv_converter. Fixes #1564.
This commit is contained in:
parent
3b78bdc8e5
commit
b373bf4252
3 changed files with 11 additions and 9 deletions
|
@ -773,7 +773,7 @@ br_status fpa_rewriter::mk_to_ieee_bv(func_decl * f, expr * arg, expr_ref & resu
|
|||
if (m_fm.is_nan(v)) {
|
||||
if (m_hi_fp_unspecified) {
|
||||
expr * args[4] = { bu.mk_numeral(0, 1),
|
||||
bu.mk_numeral(-1, x.get_ebits()),
|
||||
bu.mk_bv_neg(bu.mk_numeral(1, x.get_ebits())),
|
||||
bu.mk_numeral(0, x.get_sbits() - 2),
|
||||
bu.mk_numeral(1, 1) };
|
||||
result = bu.mk_concat(4, args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue