mk_bvsmod method

Z3_ast mk_bvsmod(
  1. Z3_context c,
  2. Z3_ast t1,
  3. Z3_ast t2
)

\brief Two's complement signed remainder (sign follows divisor).

If \ccode{t2} is zero, then the result is undefined.

The nodes \c t1 and \c t2 must have the same bit-vector sort.

\sa Z3_mk_bvsrem

def_API('Z3_mk_bvsmod', AST, (_in(CONTEXT), _in(AST), _in(AST)))

Implementation

Z3_ast mk_bvsmod(
  Z3_context c,
  Z3_ast t1,
  Z3_ast t2,
) {
  return _mk_bvsmod(
    c,
    t1,
    t2,
  );
}