float.nan is not itself ?

Manfred Nowak svv1999 at hotmail.com
Tue Feb 14 15:45:18 PST 2012


Stewart Gordon wrote:

>  If there were such a thing as bool.nan

... it would be called not-a-boolean. Of course it may make sense to 
compute something using such poisoned values. But if such values make 
sense, D is not prepared to use them, especially there is no 
"if_then_else_otherwise" statement in D.

-manfred


More information about the Digitalmars-d-learn mailing list