mirror of
https://github.com/Z3Prover/z3
synced 2025-06-20 12:53:38 +00:00
add method to create bit-vectors directly from an array of Booleans
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2c97eb1393
commit
795e0c641a
7 changed files with 45 additions and 15 deletions
|
@ -3248,6 +3248,14 @@ extern "C" {
|
|||
*/
|
||||
Z3_ast Z3_API Z3_mk_unsigned_int64(Z3_context c, __uint64 v, Z3_sort ty);
|
||||
|
||||
/**
|
||||
\brief create a bit-vector numeral from a vector of Booleans.
|
||||
|
||||
\sa Z3_mk_numeral
|
||||
def_API('Z3_mk_bv_numeral', AST, (_in(CONTEXT), _in(UINT), _in_array(1, BOOL)))
|
||||
*/
|
||||
Z3_ast Z3_API Z3_mk_bv_numeral(Z3_context c, unsigned sz, Z3_bool const* bits);
|
||||
|
||||
/*@}*/
|
||||
|
||||
/** @name Sequences and regular expressions */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue