summaryrefslogtreecommitdiff
path: root/Source/Core/AbsyExpr.cs
diff options
context:
space:
mode:
authorGravatar Dietrich <dgeisler50@gmail.com>2015-04-20 03:44:03 -0600
committerGravatar Dietrich <dgeisler50@gmail.com>2015-04-20 03:44:03 -0600
commit0776b808b14e62833b3eac1c30c8ac8cc7e62c20 (patch)
tree4d78f194944b988c25e05ec13b438f0284bfc422 /Source/Core/AbsyExpr.cs
parentb5f62842c113ec93dee7f9ac067ae6d410e7bc29 (diff)
added float tipe to AbsyExpr and IntervalDomain. The methods added may require later modification
Diffstat (limited to 'Source/Core/AbsyExpr.cs')
-rw-r--r--Source/Core/AbsyExpr.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/AbsyExpr.cs b/Source/Core/AbsyExpr.cs
index 00306a5e..62145eed 100644
--- a/Source/Core/AbsyExpr.cs
+++ b/Source/Core/AbsyExpr.cs
@@ -356,6 +356,11 @@ namespace Microsoft.Boogie {
Contract.Ensures(Contract.Result<LiteralExpr>() != null);
return new LiteralExpr(Token.NoToken, value);
}
+ public static LiteralExpr Literal(FP32 value)
+ {
+ Contract.Ensures(Contract.Result<LiteralExpr>() != null);
+ return new LiteralExpr(Token.NoToken, value);
+ }
private static LiteralExpr/*!*/ true_ = Literal(true);
public static LiteralExpr/*!*/ True {