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

8 lines
284 B
Plaintext

// With USE IEEE a FLOAT can be NaN, and NaN == NaN is FALSE. The prover's
// rule that every number equals itself does not hold for NaN, so nothing in
// a program that says USE IEEE may be marked proved.
// MUST-NOT-PROVE: assert@7
USE IEEE
DECLARE X : FLOAT <- NAN()
ASSERT X == X