summaryrefslogtreecommitdiff
path: root/float_test7.bpl
diff options
context:
space:
mode:
authorGravatar Dietrich <dgeisler50@gmail.com>2015-05-18 22:08:43 -0600
committerGravatar Dietrich <dgeisler50@gmail.com>2015-05-18 22:08:43 -0600
commit25fca02e1deb9e60e6e330803731c9b4fcd45d34 (patch)
treeae0e3e76d76b00b756ff5844876e6d02f638c500 /float_test7.bpl
parentc55533de9fc0b0bcc47cfca5fd26de93afac4d3b (diff)
added interpretation of floating point constants to the parser
Diffstat (limited to 'float_test7.bpl')
-rw-r--r--float_test7.bpl4
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