mirror of
https://github.com/Z3Prover/z3
synced 2025-06-20 12:53:38 +00:00
true is true, false is not true, it is false
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f21162960e
commit
5a825d7ac3
6 changed files with 17 additions and 21 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)) ? true : false;
|
||||
return mk_c(c)->autil().is_irrational_algebraic_numeral(to_expr(a));
|
||||
}
|
||||
|
||||
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