3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

FPA API bug and consistency fixes

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2014-11-11 12:38:59 +00:00
parent 8d3ef92383
commit 261fe01cea
5 changed files with 95 additions and 37 deletions

View file

@ -2618,7 +2618,7 @@ void fpa_example() {
symbol_y = Z3_mk_string_symbol(ctx, "y");
x = Z3_mk_const(ctx, symbol_x, double_sort);
y = Z3_mk_const(ctx, symbol_y, double_sort);
n = Z3_mk_fpa_double(ctx, 42.0, double_sort);
n = Z3_mk_fpa_numeral_double(ctx, 42.0, double_sort);
symbol_q = Z3_mk_string_symbol(ctx, "q");
q = Z3_mk_const(ctx, symbol_q, double_sort);