Files
pplus-library/pseudo/prover/float32-store.pseudo
T
2026-10-06 09:57:04 -04:00

9 lines
307 B
Plaintext

// A whole number stored in a FLOAT32 is rounded to the nearest single:
// 16777217 becomes 16777216. A rule that kept the INTEGER's value for the
// FLOAT32 would prove this ASSERT, and the run breaks it.
// MUST-NOT-PROVE: assert@8
DECLARE N : INTEGER <- 16777217
DECLARE X : FLOAT32
X <- N
ASSERT X == N