Files
pplus-library/pseudo/prover/havoc-float-sort.pseudo
T
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

11 lines
311 B
Plaintext

// X is a FLOAT that starts at the whole number 1. At the top of the loop the
// checker makes X an unknown of the sort its value had (a whole number), and
// X is 0.5 on the second pass.
// MUST-NOT-PROVE: assert@8
DECLARE X : FLOAT
X <- 1
FOR I <- 0 TO 2
ASSERT X <= 0.0 OR X >= 1.0
X <- X / 2
NEXT I