[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

+nan.0 contradiction

This page is part of the web mail archives of SRFI 77 from before July 7th, 2015. The new archives for SRFI 77 contain all messages, not just those from before July 7th, 2015.



 | This SRFI regards +nan.0 as a real number whose value is so
 | indeterminate that it might represent any real number within the
 | closed interval [-inf.0,+inf.0].

That sentence implies that (<= -inf.0 +nan.0 +inf.0).

But that is not true in IEEE-754 arithmetic as compiled by gcc running
on an Intel(R) Pentium(R) 4 CPU.