summaryrefslogtreecommitdiff
path: root/Test/floats/test17.bpl
diff options
context:
space:
mode:
authorGravatar Checkmate50 <dgeisler50@gmail.com>2016-05-31 12:59:38 -0600
committerGravatar Checkmate50 <dgeisler50@gmail.com>2016-05-31 12:59:38 -0600
commitc19c2495497d0dfa7aaf871cf833cd5e5f986d33 (patch)
tree86c6f9fdd2baf6d8f8b2ebacda439d1ee6853dcc /Test/floats/test17.bpl
parent6f7fc01346c0ebe9072e61ace2cfede4fcedea09 (diff)
moved all the tests to the testing folder
Diffstat (limited to 'Test/floats/test17.bpl')
-rw-r--r--Test/floats/test17.bpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/Test/floats/test17.bpl b/Test/floats/test17.bpl
new file mode 100644
index 00000000..caa1fa74
--- /dev/null
+++ b/Test/floats/test17.bpl
@@ -0,0 +1,11 @@
+//Translation from nan_double_range_true-unreach-call.c
+//Should verify
+//Uggghhhh, should I add support for e?
+
+procedure main() returns () {
+ var x : float(11 53);
+ havoc x;
+ if (x >= fp(-100000000000000000000000000 11 53) && x <= fp(100000000000000000000000000 11 53)) {
+ assert(x==x);
+ }
+} \ No newline at end of file