mk_sign_ext method

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

\brief Sign-extend of the given bit-vector to the (signed) equivalent bit-vector of size \ccode{m+i}, where \c m is the size of the given bit-vector.

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

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

Implementation

Z3_ast mk_sign_ext(
  Z3_context c,
  int i,
  Z3_ast t1,
) {
  return _mk_sign_ext(
    c,
    i,
    t1,
  );
}