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

More FPA exponent/siginficand order consistency

This commit is contained in:
Christoph M. Wintersteiger 2016-01-05 18:05:21 +00:00
parent 1610e4fbd0
commit de3cb7e5dc
6 changed files with 246 additions and 218 deletions

View file

@ -1077,8 +1077,8 @@ extern "C" {
api::context * ctx = mk_c(c);
fpa_util & fu = ctx->fpautil();
if (!fu.is_rm(to_expr(rm)) ||
!ctx->autil().is_real(to_expr(sig)) ||
!ctx->autil().is_int(to_expr(exp)) ||
!ctx->autil().is_real(to_expr(sig)) ||
!fu.is_float(to_sort(s))) {
SET_ERROR_CODE(Z3_INVALID_ARG);
return 0;