7 lines
260 B
Plaintext
7 lines
260 B
Plaintext
// SUM adds whole numbers without the check + has: past 2^53 - 1 the total is
|
|
// no longer exact and the run goes on.
|
|
// RUN-STOPS: overflow@6
|
|
DECLARE L : LIST OF INTEGER
|
|
L <- [9007199254740991, 1, 1]
|
|
ASSERT (SUM K IN [0, 3) : L[K]) > (SUM K IN [0, 2) : L[K])
|