From 25fca02e1deb9e60e6e330803731c9b4fcd45d34 Mon Sep 17 00:00:00 2001 From: Dietrich Date: Mon, 18 May 2015 22:08:43 -0600 Subject: added interpretation of floating point constants to the parser --- float_test7.bpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'float_test7.bpl') 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 -- cgit v1.2.3