summaryrefslogtreecommitdiff
path: root/float_test6.bpl
diff options
context:
space:
mode:
authorGravatar Checkmate50 <dgeisler50@gmail.com>2015-09-23 04:08:00 -0600
committerGravatar Checkmate50 <dgeisler50@gmail.com>2015-09-23 04:08:00 -0600
commit80f3d4ed1bb221adbd3c7162acea10920b9fab73 (patch)
tree218275e91b58fdb3cbce0376a4b423fa34e4e763 /float_test6.bpl
parent28a20e6eba2919e008f70874b4c12a3ce7ad049c (diff)
Modified BigFloat to avoid evaluating the floating point value before sending it to z3
Diffstat (limited to 'float_test6.bpl')
-rw-r--r--float_test6.bpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/float_test6.bpl b/float_test6.bpl
index 307da9f7..423bc45a 100644
--- a/float_test6.bpl
+++ b/float_test6.bpl
@@ -1,5 +1,5 @@
procedure F() returns () {
var x : float;
- x := fp(1) + fp(1);
- assert x == fp(2);
+ var y : float;
+ assert (x + x) + (y + y) == fp(0);
} \ No newline at end of file