diff options
author | 2016-07-22 15:42:33 -0600 | |
---|---|---|
committer | 2016-07-22 15:42:33 -0600 | |
commit | ce9d174eba6a4efd321e78fed4a6e00aab1fda2c (patch) | |
tree | 06b4f3239b76b252fc4de1b43428689199a8d0db /Test/floats/float8.bpl | |
parent | 07c34b257ba84db8ec26cba283aae74f87087181 (diff) |
fixed the syntax on former tests and added two fp constant translation tests
Diffstat (limited to 'Test/floats/float8.bpl')
-rw-r--r-- | Test/floats/float8.bpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Test/floats/float8.bpl b/Test/floats/float8.bpl index 25c08e4d..bfb3b9e9 100644 --- a/Test/floats/float8.bpl +++ b/Test/floats/float8.bpl @@ -5,9 +5,9 @@ procedure main() returns () { var y : float24e8; var z : float24e8; var r : float24e8; - x := 0e40f24e8; - y := x + 0e0f24e8; - z := x - 0e0f24e8; + x := 0e167f24e8; + y := x + 0e127f24e8; + z := x - 0e127f24e8; r := y - z; - assert r == 0e1f24e8; + assert r == 0e128f24e8; }
\ No newline at end of file |