summaryrefslogtreecommitdiff
path: root/Test/floats/float4.bpl
diff options
context:
space:
mode:
authorGravatar Checkmate50 <dgeisler50@gmail.com>2016-07-22 15:42:33 -0600
committerGravatar Checkmate50 <dgeisler50@gmail.com>2016-07-22 15:42:33 -0600
commitce9d174eba6a4efd321e78fed4a6e00aab1fda2c (patch)
tree06b4f3239b76b252fc4de1b43428689199a8d0db /Test/floats/float4.bpl
parent07c34b257ba84db8ec26cba283aae74f87087181 (diff)
fixed the syntax on former tests and added two fp constant translation tests
Diffstat (limited to 'Test/floats/float4.bpl')
-rw-r--r--Test/floats/float4.bpl10
1 files changed, 9 insertions, 1 deletions
diff --git a/Test/floats/float4.bpl b/Test/floats/float4.bpl
index 816d8446..1c2df42e 100644
--- a/Test/floats/float4.bpl
+++ b/Test/floats/float4.bpl
@@ -1,11 +1,19 @@
// RUN: %boogie -proverWarnings:1 "%s" > "%t"
// RUN: %diff "%s.expect" "%t"
procedure foo() returns (r : float8e24) {
+ var d : float53e11;
+
r := 0NaN8e24;
r := 0nan8e24;
r := 0+oo8e24;
r := 0-oo8e24;
- r := -5e-3f8e24;
+ r := -5e255f8e24;
+
+ d := 0NaN53e11;
+ d := 0nan53e11;
+ d := 0+oo53e11;
+ d := 0-oo53e11;
+ d := -200e2000f53e11;
return;
} \ No newline at end of file