mk_bit2bool method

Z3_ast mk_bit2bool(
  1. Z3_context c,
  2. int i,
  3. Z3_ast t1
)

\brief Extracts the bit at position \ccode{i} of a bit-vector and yields a boolean.

The node \c t1 must have a bit-vector sort.

def_API('Z3_mk_bit2bool', AST, (_in(CONTEXT), _in(UINT), _in(AST)))

Implementation

Z3_ast mk_bit2bool(
  Z3_context c,
  int i,
  Z3_ast t1,
) {
  return _mk_bit2bool(
    c,
    i,
    t1,
  );
}