3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-12 10:14:42 +00:00

Renaming for consistency mk_value -> mk_numeral

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2015-01-08 14:22:44 +00:00
parent c5b220cc12
commit c0bc2518b0
8 changed files with 73 additions and 73 deletions

View file

@ -149,7 +149,7 @@ extern "C" {
return
mk_c(c)->autil().is_numeral(e) ||
mk_c(c)->bvutil().is_numeral(e) ||
mk_c(c)->fpa_util().is_value(e);
mk_c(c)->fpa_util().is_numeral(e);
Z3_CATCH_RETURN(Z3_FALSE);
}
@ -193,7 +193,7 @@ extern "C" {
// floats are separated from all others to avoid huge rationals.
fpa_util & fu = mk_c(c)->fpa_util();
scoped_mpf tmp(fu.fm());
if (mk_c(c)->fpa_util().is_value(to_expr(a), tmp)) {
if (mk_c(c)->fpa_util().is_numeral(to_expr(a), tmp)) {
return mk_c(c)->mk_external_string(fu.fm().to_string(tmp));
}
else {