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.

Reply via email to