mk_bvurem method

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

\brief Unsigned remainder.

It is defined as \ccode{t1 - (t1 /u t2) * t2}, where \ccode{/u} represents unsigned division.

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

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

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

Implementation

Z3_ast mk_bvurem(
  Z3_context c,
  Z3_ast t1,
  Z3_ast t2,
) {
  return _mk_bvurem(
    c,
    t1,
    t2,
  );
}