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

12 lines
330 B
Plaintext

// MAX(X, I) is typed FLOAT32 and holds the INTEGER 16777217, which no FLOAT32
// holds. The store into Y rounds it; the checker sees a FLOAT32 going into a
// FLOAT32 and keeps the value.
// MUST-NOT-PROVE: assert@11
DECLARE X : FLOAT32
DECLARE Y : FLOAT32
DECLARE I : INTEGER
X <- 1.0
I <- 16777217
Y <- MAX(X, I)
ASSERT Y == I