summaryrefslogtreecommitdiff
path: root/Test/floats/float4.bpl
diff options
context:
space:
mode:
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