mirror of
https://github.com/Z3Prover/z3
synced 2026-02-13 12:23:01 +00:00
Refactor mk_concat call sites to use std::initializer_list (#8494)
* Initial plan * Refactor mk_concat call sites to use std::initializer_list Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
63f05ff6e6
commit
4b7e02ebdd
6 changed files with 16 additions and 37 deletions
|
|
@ -231,8 +231,7 @@ namespace fpa {
|
|||
else if (m_fpa_util.is_numeral(n, val)) {
|
||||
expr_ref bv_val_e(convert(n), m);
|
||||
VERIFY(m_fpa_util.is_fp(bv_val_e, a, b, c));
|
||||
expr* args[] = { a, b, c };
|
||||
expr_ref cc_args(m_bv_util.mk_concat(3, args), m);
|
||||
expr_ref cc_args(m_bv_util.mk_concat({a, b, c}), m);
|
||||
// Require
|
||||
// wrap(n) = bvK
|
||||
// fp(extract(wrap(n)) = n
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue