diff options
author | Dietrich <dgeisler50@gmail.com> | 2015-05-18 22:08:43 -0600 |
---|---|---|
committer | Dietrich <dgeisler50@gmail.com> | 2015-05-18 22:08:43 -0600 |
commit | 25fca02e1deb9e60e6e330803731c9b4fcd45d34 (patch) | |
tree | ae0e3e76d76b00b756ff5844876e6d02f638c500 /float_test7.bpl | |
parent | c55533de9fc0b0bcc47cfca5fd26de93afac4d3b (diff) |
added interpretation of floating point constants to the parser
Diffstat (limited to 'float_test7.bpl')
-rw-r--r-- | float_test7.bpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/float_test7.bpl b/float_test7.bpl index 1638724d..ca33eb08 100644 --- a/float_test7.bpl +++ b/float_test7.bpl @@ -1,5 +1,5 @@ procedure F() returns () { var x : float; - x := fp (0.5); - assert x == fp (0 -1 23 8); + x := fp (.5 23 8); + assert x == fp (0 -1); }
\ No newline at end of file |