diff options
author | Dietrich <dgeisler50@gmail.com> | 2015-05-04 03:46:22 -0600 |
---|---|---|
committer | Dietrich <dgeisler50@gmail.com> | 2015-05-04 03:46:22 -0600 |
commit | d213a71b16a344dab7ac5d08507668abebffd21e (patch) | |
tree | ece00fc97fcc83309a51b95b2b6972a75e6af73d /Source/VCExpr | |
parent | 1058d935425fa9c9544fbf18dad184cd8333e0d9 (diff) |
integrated the named float type to act as a real in boogie
Diffstat (limited to 'Source/VCExpr')
-rw-r--r-- | Source/VCExpr/TypeErasure.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/VCExpr/TypeErasure.cs b/Source/VCExpr/TypeErasure.cs index 2326ba7a..4632b1e4 100644 --- a/Source/VCExpr/TypeErasure.cs +++ b/Source/VCExpr/TypeErasure.cs @@ -1424,6 +1424,13 @@ namespace Microsoft.Boogie.TypeErasure { Contract.Ensures(Contract.Result<VCExpr>() != null);
return CastArguments(node, Type.Real, bindings, 0);
}
+ public override VCExpr VisitFloatDivOp(VCExprNAry node, VariableBindings bindings)
+ {
+ Contract.Requires((bindings != null));
+ Contract.Requires((node != null));
+ Contract.Ensures(Contract.Result<VCExpr>() != null);
+ return CastArguments(node, Type.Float, bindings, 0);
+ }
public override VCExpr VisitPowOp(VCExprNAry node, VariableBindings bindings) {
Contract.Requires((bindings != null));
Contract.Requires((node != null));
|