3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-04 06:15:46 +00:00

bump version, add double access

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-10-19 20:20:08 -07:00
parent b1ab473035
commit 694a6a26c9
8 changed files with 37 additions and 24 deletions

View file

@ -4438,6 +4438,15 @@ extern "C" {
*/
Z3_string Z3_API Z3_get_numeral_decimal_string(Z3_context c, Z3_ast a, unsigned precision);
/**
\brief Return numeral as a double.
\pre Z3_get_ast_kind(c, a) == Z3_NUMERAL_AST || Z3_is_algebraic_number(c, a)
def_API('Z3_get_numeral_double', STRING, (_in(CONTEXT), _in(AST)))
*/
double Z3_API Z3_get_numeral_double(Z3_context c, Z3_ast a);
/**
\brief Return the numerator (as a numeral AST) of a numeral AST of sort Real.