Skip to content

Commit

Permalink
Merge pull request #1552 from mmcgr/rounding
Browse files Browse the repository at this point in the history
Change testcase to be safe for 64 bit and 32bit
  • Loading branch information
b-scholz committed Jul 28, 2020
2 parents 97abbe0 + 5c481b3 commit 96d763f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/evaluation/aggregates7/AggregateOverflow.csv
@@ -1 +1 @@
2.14748365e+09
5
2 changes: 1 addition & 1 deletion tests/evaluation/aggregates7/IndexAggregateOverflow.csv
@@ -1 +1 @@
1 2.14748365e+09
1 5
8 changes: 4 additions & 4 deletions tests/evaluation/aggregates7/aggregates7.dl
Expand Up @@ -45,12 +45,12 @@ IndexAggregateSum(1, x) :- x = sum y : F(1, y).
.decl H, IndexAggregateOverflow(x:float, y:float)
.output AggregateOverflow, IndexAggregateOverflow

G(2147483640).
G(2147483630).
G(4).
G(6).

AggregateOverflow(x) :- x = mean y : G(y).

H(1, 2147483640).
H(1, 2147483630).
H(1, 4).
H(1, 6).

IndexAggregateOverflow(1, x) :- x = mean y : H(1, y).

0 comments on commit 96d763f

Please sign in to comment.