mirror of
https://github.com/Z3Prover/z3
synced 2025-12-06 03:52:24 +00:00
Return sign from Z3_fpa_get_numeral_sign as bool instead of int (#8047)
The underlying `mpf_manager::sgn` function returns a `bool`, and functions such as `Z3_mk_fpa_numeral_int_uint` take the sign as a `bool`. Signed-off-by: Josh Berdine <josh@berdine.net>
This commit is contained in:
parent
4401abbb4a
commit
4af83e8501
5 changed files with 17 additions and 4 deletions
|
|
@ -1086,6 +1086,9 @@ def def_API(name, result, params):
|
|||
elif ty == INT64:
|
||||
log_c.write(" I(0);\n")
|
||||
exe_c.write("in.get_int64_addr(%s)" % i)
|
||||
elif ty == BOOL:
|
||||
log_c.write(" I(0);\n")
|
||||
exe_c.write("in.get_bool_addr(%s)" % i)
|
||||
elif ty == VOID_PTR:
|
||||
log_c.write(" P(0);\n")
|
||||
exe_c.write("in.get_obj_addr(%s)" % i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue