Skip to content

Commit

Permalink
Merge pull request boogie-org#135 from shaobo-he/fix-fp-const-str
Browse files Browse the repository at this point in the history
Fixed BigFloat construction of the returned FP constants
  • Loading branch information
zvonimir authored Jul 1, 2019
2 parents 6c6cfb9 + 818c4c2 commit 5c829b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Provers/SMTLib/ProverInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2456,7 +2456,7 @@ public override object Evaluate(VCExpr expr)
BigInteger exp = getBvVal(expExpr);
int expSize = getBvSize(expExpr);
BigInteger sig = getBvVal(sigExpr);
int sigSize = getBvSize(sigExpr);
int sigSize = getBvSize(sigExpr)+1;
return new Basetypes.BigFloat(isNeg, sig, exp, sigSize, expSize);
}
if (resp.Name == "_" && resp.ArgCount == 3)
Expand Down

0 comments on commit 5c829b6

Please sign in to comment.