summaryrefslogtreecommitdiff
path: root/Source/VCExpr/Boogie2VCExpr.cs
diff options
context:
space:
mode:
authorGravatar Dietrich <dgeisler50@gmail.com>2015-05-18 22:08:43 -0600
committerGravatar Dietrich <dgeisler50@gmail.com>2015-05-18 22:08:43 -0600
commit25fca02e1deb9e60e6e330803731c9b4fcd45d34 (patch)
treeae0e3e76d76b00b756ff5844876e6d02f638c500 /Source/VCExpr/Boogie2VCExpr.cs
parentc55533de9fc0b0bcc47cfca5fd26de93afac4d3b (diff)
added interpretation of floating point constants to the parser
Diffstat (limited to 'Source/VCExpr/Boogie2VCExpr.cs')
-rw-r--r--Source/VCExpr/Boogie2VCExpr.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/VCExpr/Boogie2VCExpr.cs b/Source/VCExpr/Boogie2VCExpr.cs
index aa246c37..942116eb 100644
--- a/Source/VCExpr/Boogie2VCExpr.cs
+++ b/Source/VCExpr/Boogie2VCExpr.cs
@@ -1009,7 +1009,7 @@ namespace Microsoft.Boogie.VCExprAST {
return Gen.Function(VCExpressionGenerator.SubROp, Gen.Real(BigDec.ZERO), e);
}
else {//is float
- return Gen.Function(VCExpressionGenerator.SubFOp, Gen.Float(BigFloat.ZERO), e);
+ return Gen.Function(VCExpressionGenerator.SubFOp, Gen.Float(BigFloat.ZERO(8, 23)), e);
}
}
else {