Function z3_sys::Z3_algebraic_sign

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

Return 1 if a is positive, 0 if a is zero, and -1 if a is negative.

Preconditions:

  • `Z3_algebraic_is_value(c, a)

See also: