SomeDude:

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.

That's what my proposal is going to be, with small refinements :-) (And it think it's not the first time someone proposes it).

Bye,
bearophile

Reply via email to