algebraic_get_i method

int algebraic_get_i(
  1. Z3_context c,
  2. Z3_ast a
)

\brief Return which root of the polynomial the algebraic number represents.

\pre Z3_algebraic_is_value(c, a)

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

Implementation

int algebraic_get_i(
  Z3_context c,
  Z3_ast a,
) {
  return _algebraic_get_i(
    c,
    a,
  );
}