3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-28 08:58:44 +00:00

Added Z3_fpa_is_numeral_negative to FPA API

This commit is contained in:
Christoph M. Wintersteiger 2016-10-27 15:06:24 +01:00
parent 23c58a1ef6
commit e4f7ff9881
3 changed files with 35 additions and 10 deletions

View file

@ -882,6 +882,16 @@ extern "C" {
*/
Z3_bool Z3_API Z3_fpa_is_numeral_positive(Z3_context c, Z3_ast t);
/**
\brief Checks whether a given floating-point numeral is negative.
\param c logical context
\param t a floating-point numeral
def_API('Z3_fpa_is_numeral_negative', BOOL, (_in(CONTEXT), _in(AST)))
*/
Z3_bool Z3_API Z3_fpa_is_numeral_negative(Z3_context c, Z3_ast t);
/**
\brief Retrieves the sign of a floating-point literal as a bit-vector expression.