3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

Added FP to_ieee_bv to fpa_rewriter to enable model evaluation.

This commit is contained in:
Christoph M. Wintersteiger 2015-09-16 12:57:05 +01:00
parent 46e24e094c
commit 79d69cd5f0
8 changed files with 71 additions and 16 deletions

View file

@ -838,7 +838,7 @@ extern "C" {
LOG_Z3_mk_fpa_to_ieee_bv(c, t);
RESET_ERROR_CODE();
api::context * ctx = mk_c(c);
Z3_ast r = of_ast(ctx->fpautil().mk_float_to_ieee_bv(to_expr(t)));
Z3_ast r = of_ast(ctx->fpautil().mk_to_ieee_bv(to_expr(t)));
RETURN_Z3(r);
Z3_CATCH_RETURN(0);
}