mirror of
https://github.com/Z3Prover/z3
synced 2025-12-26 14:06:36 +00:00
use c_bool instead of c_int for sign
This commit is contained in:
parent
233184944c
commit
fab414a7ab
1 changed files with 1 additions and 1 deletions
|
|
@ -831,7 +831,7 @@ class Formatter:
|
|||
else:
|
||||
_z3_assert(z3.is_fp_value(a), "expecting FP num ast")
|
||||
r = []
|
||||
sgn = c_int(0)
|
||||
sgn = c_bool(0)
|
||||
sgnb = Z3_fpa_get_numeral_sign(a.ctx_ref(), a.ast, byref(sgn))
|
||||
exp = Z3_fpa_get_numeral_exponent_string(a.ctx_ref(), a.ast, False)
|
||||
sig = Z3_fpa_get_numeral_significand_string(a.ctx_ref(), a.ast)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue