diff options
Diffstat (limited to 'float_test14.bpl')
-rw-r--r-- | float_test14.bpl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/float_test14.bpl b/float_test14.bpl new file mode 100644 index 00000000..9b5dab0a --- /dev/null +++ b/float_test14.bpl @@ -0,0 +1,17 @@ +//Translation from inv_square_false-unreach-call.c
+//Should Verify
+
+procedure main() returns () {
+ var x : float;
+ var y : float;
+ var z : float;
+
+ havoc x;
+ assume(x >= fp(-1) && x <= fp(1));
+
+ if (x <= fp(-.00000000000000000001) || x >= fp(.00000000000000000001)) {
+ y := x * x;
+ assert(y != fp(0));
+ z := fp(1) / y;
+ }
+}
\ No newline at end of file |