mirror of
https://github.com/Z3Prover/z3
synced 2025-06-20 12:53:38 +00:00
Remove usages of Z3_TRUE / Z3_FALSE.
Now that this is all using stdbool.h, we can just use true/false. For now, we leave the aliases in place in z3_api.h.
This commit is contained in:
parent
8b2450aba7
commit
56bbed173e
23 changed files with 188 additions and 189 deletions
|
@ -121,7 +121,7 @@ extern "C" {
|
|||
|
||||
Z3_bool Z3_API Z3_is_algebraic_number(Z3_context c, Z3_ast a) {
|
||||
LOG_Z3_is_algebraic_number(c, a);
|
||||
return mk_c(c)->autil().is_irrational_algebraic_numeral(to_expr(a)) ? Z3_TRUE : Z3_FALSE;
|
||||
return mk_c(c)->autil().is_irrational_algebraic_numeral(to_expr(a)) ? true : false;
|
||||
}
|
||||
|
||||
Z3_ast Z3_API Z3_get_algebraic_number_lower(Z3_context c, Z3_ast a, unsigned precision) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue