This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,8 @@
|
||||
// X * A + (X * 2 - X * A) is 2 * X. The checker adds the coefficients as
|
||||
// doubles: A + 2 rounds to 2^53, minus A leaves 1, so it proves the sum is X.
|
||||
// Every value in the run is below 2^53.
|
||||
// INPUT: 1
|
||||
// MUST-NOT-PROVE: assert@8
|
||||
DECLARE X : INTEGER
|
||||
INPUT X
|
||||
ASSERT X * 9007199254740991 + (X * 2 - X * 9007199254740991) == X
|
||||
Reference in new issue
Block a user