diff options
author | Dietrich <dgeisler50@gmail.com> | 2015-07-20 22:27:32 -0600 |
---|---|---|
committer | Dietrich <dgeisler50@gmail.com> | 2015-07-20 22:27:32 -0600 |
commit | bb5395b35dcea5078c9b38a2f091f26256faac34 (patch) | |
tree | 5930116d3f65b25cdcd3a98cca6ced2e30f5e057 /float_test7.bpl | |
parent | 52aa9b8f63a3d955031e7a0dfd6e575ca7cf76b3 (diff) |
Float type now works correctly for simple variable declaration and comparison.
Diffstat (limited to 'float_test7.bpl')
-rw-r--r-- | float_test7.bpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/float_test7.bpl b/float_test7.bpl index ca33eb08..cc7a040b 100644 --- a/float_test7.bpl +++ b/float_test7.bpl @@ -1,5 +1,5 @@ - procedure F() returns () { +procedure F() returns () { var x : float; - x := fp (.5 23 8); - assert x == fp (0 -1); + x := fp(.1) + fp(.1) + fp(.1); + assert x == fp(.3); }
\ No newline at end of file |