3
0
Fork 0
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:
Nikolaj Bjorner 2025-11-26 13:55:06 -08:00
parent 233184944c
commit fab414a7ab

View file

@ -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)