summaryrefslogtreecommitdiff
path: root/Test/floats/float10.bpl
diff options
context:
space:
mode:
authorGravatar Checkmate50 <dgeisler50@gmail.com>2016-07-19 12:33:21 -0600
committerGravatar Checkmate50 <dgeisler50@gmail.com>2016-07-19 12:33:21 -0600
commit59052004251c655e06951eb4615938259fdf4844 (patch)
tree2b11adf8766c1dc4e51a581c4ace79c84b9b4c0c /Test/floats/float10.bpl
parent6bf5043aeab0430325c4ccde3e6ca3bd82d96704 (diff)
Modified the float tests to match the updated syntax
Diffstat (limited to 'Test/floats/float10.bpl')
-rw-r--r--Test/floats/float10.bpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/floats/float10.bpl b/Test/floats/float10.bpl
index bf07aec6..ec9b4895 100644
--- a/Test/floats/float10.bpl
+++ b/Test/floats/float10.bpl
@@ -1,10 +1,10 @@
// RUN: %boogie -proverWarnings:1 "%s" > "%t"
// RUN: %diff "%s.expect" "%t"
-function {:builtin "(_ to_fp 11 53) RNE"} TO_FLOAT64_REAL(real) returns (float64);
+function {:builtin "(_ to_fp 11 53) RNE"} TO_FLOAT64_REAL(real) returns (float53e11);
procedure double_range_true() returns () {
- var x : float64;
+ var x : float53e11;
havoc x;
if (x >= TO_FLOAT64_REAL(-1e307) && x <= TO_FLOAT64_REAL(1e307)) {
assert(x==x);
@@ -12,7 +12,7 @@ procedure double_range_true() returns () {
}
procedure double_range_false() returns () {
- var x : float64;
+ var x : float53e11;
havoc x;
assert(x==x);
} \ No newline at end of file