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_test6.bpl | |
parent | 52aa9b8f63a3d955031e7a0dfd6e575ca7cf76b3 (diff) |
Float type now works correctly for simple variable declaration and comparison.
Diffstat (limited to 'float_test6.bpl')
-rw-r--r-- | float_test6.bpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/float_test6.bpl b/float_test6.bpl index 12cfbabe..307da9f7 100644 --- a/float_test6.bpl +++ b/float_test6.bpl @@ -1,5 +1,5 @@ - procedure F() returns () { +procedure F() returns () { var x : float; - x := fp (3); - assert x == fp (8388608 1 23 8); + x := fp(1) + fp(1); + assert x == fp(2); }
\ No newline at end of file |