[DGD] boolean integers: mudos vs dgd

Noah Gibbs noah_gibbs at yahoo.com
Sun Apr 21 17:43:20 CEST 2013


Huh.  Fair enough.  I know I've seen C compilers not necessarily return 1 or 0, but I guess that must have been nonstandard behavior.


________________________________
 From: Felix A. Croes <felix at dworkin.nl>
To: dgd at dworkin.nl 
Sent: Sunday, April 21, 2013 8:09 AM
Subject: Re: [DGD] boolean integers: mudos vs dgd
 

Noah Gibbs <noah_gibbs at yahoo.com> wrote:


> I think it's actually undefined in C as well, according to standard.  But
>  if it's undefined, 1 is a perfectly good answer.

Obviously many people would wish it to be different, but it is not
undefined in C and never has been.

Regards,
Felix Croes
____________________________________________
https://mail.dworkin.nl/mailman/listinfo/dgd


More information about the DGD mailing list