Closed edcote closed 3 years ago
Ah, good catch @edcote. Yes, Boolector returns results in 2's complement form and additional conversion is needed to get a Python signed integer. Fixed in version 0.3.4.
-Matthew
Thank you!!
Can I https://www.buymeacoffee.com/ ?
Consider the following testcase tested on pyvsc==0.3.3.20210422.1:
... and its output:
I am guessing the answer isn't wrong. I didn't check the 2s complement.