mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 17:44:08 +00:00
fix crash in BV internalizer due to unknown bv_neg symbol
This commit is contained in:
parent
cb600a9329
commit
b9bc6975e9
|
@ -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_fm.is_nan(v)) {
|
||||||
if (m_hi_fp_unspecified) {
|
if (m_hi_fp_unspecified) {
|
||||||
expr * args[4] = { bu.mk_numeral(0, 1),
|
expr * args[4] = { bu.mk_numeral(0, 1),
|
||||||
bu.mk_bv_neg(bu.mk_numeral(1, x.get_ebits())),
|
bu.mk_numeral(rational::minus_one(), x.get_ebits()),
|
||||||
bu.mk_numeral(0, x.get_sbits() - 2),
|
bu.mk_numeral(0, x.get_sbits() - 2),
|
||||||
bu.mk_numeral(1, 1) };
|
bu.mk_numeral(1, 1) };
|
||||||
result = bu.mk_concat(4, args);
|
result = bu.mk_concat(4, args);
|
||||||
|
|
Loading…
Reference in a new issue