3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 21:38:44 +00:00

scope precedence of ||, github issue 24

Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
This commit is contained in:
Nikolaj Bjorner 2015-04-03 12:06:31 -07:00
parent 0e8a0822f1
commit 841c1c2290

View file

@ -1881,8 +1881,8 @@ void fpa2bv_converter::mk_to_fp(func_decl * f, unsigned num, expr * const * args
else if (num == 2 &&
m_bv_util.is_bv(args[0]) &&
m_bv_util.get_bv_size(args[0]) == 3 &&
m_arith_util.is_int(args[1]) ||
m_arith_util.is_real(args[1])) {
(m_arith_util.is_int(args[1]) ||
m_arith_util.is_real(args[1]))) {
// rm + real -> float
mk_to_fp_real(f, f->get_range(), args[0], args[1], result);
}