On Wed, Apr 18, 2012 at 08:50:10PM +0200, SomeDude wrote: > On Wednesday, 18 April 2012 at 18:18:44 UTC, Ali Çehreli wrote: > >On 04/18/2012 10:13 AM, Jonathan M Davis wrote: > >> > >> It's by design. An enhancement request is a waste of time. > >> Comparisons with NaN _always_ return false regardless of what > >> they're compared against - even NaN. It's not going to change. > >> > >> - Jonathan M Davis > > > >It shouldn't be a problem to detect comparisons against literal .nan > >values. The compiler can warn with "comparison is always false". > > > >Ali > > Now THAT makes sense.
+1. T -- "Computer Science is no more about computers than astronomy is about telescopes." -- E.W. Dijkstra