mk_unary_minus method

Z3_ast mk_unary_minus(
  1. Z3_context c,
  2. Z3_ast arg
)

\brief Create an AST node representing \ccode{- arg}.

The arguments must have int or real type.

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

Implementation

Z3_ast mk_unary_minus(
  Z3_context c,
  Z3_ast arg,
) {
  return _mk_unary_minus(
    c,
    arg,
  );
}