Function z3_sys::Z3_algebraic_root

source ·
pub unsafe extern "C" fn Z3_algebraic_root(
    c: Z3_context,
    a: Z3_ast,
    k: c_uint
) -> Z3_ast
Expand description

Return the a^(1/k)

Preconditions:

  • Z3_algebraic_is_value(c, a)
  • k is even => !Z3_algebraic_is_neg(c, a)

Postconditions:

  • Z3_algebraic_is_value(c, result)

See also: