NaNs Just Don't Get No Respect

Adam D. Ruppe destructionator at gmail.com
Sat Aug 18 20:31:39 PDT 2012


OT:

On Sunday, 19 August 2012 at 03:16:39 UTC, Davidson Corry wrote:
> For that matter, wouldn't it be nice to have a Boolean NaN? 
> (not "true", not "false", but "not yet decided")

enum BOOL {
    TRUE,
    FALSE,
    FILE_NOT_FOUND
}

http://thedailywtf.com/Articles/What_Is_Truth_0x3f_.aspx


More information about the Digitalmars-d-announce mailing list