mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix 2's complement
This commit is contained in:
parent
95f973e08a
commit
5c3b5f86f3
@ -175,7 +175,7 @@ string SMTLib2Interface::toSExpr(Expression const& _expr)
|
||||
sexpr += string("ite ") +
|
||||
"(= ((_ extract " + pos + " " + pos + ")" + arg + ") #b0) " +
|
||||
nat + " " +
|
||||
"(- (bvneg " + arg + "))";
|
||||
"(- (bv2nat (bvneg " + arg + ")))";
|
||||
}
|
||||
else if (_expr.name == "const_array")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user