RE: FALSE == 1
> > Nick Holgate wrote:
> > > +#define FALSE ((int) 1)
> > > +#define TRUE ((int) 0)
>
> Why not do :
>
> #define TRUE (0==0)
> #define FALSE (!TRUE)
>
> or something such ?
#define THE_ANSWER_TO_LIFE_THE_UNIVERSE_AND_EVERYTHING \
(((((1628 - 11) << 1) + 350) * 6) >> 9)
#define TRUE (THE_ANSWER_TO_LIFE_THE_UNIVERSE_AND_EVERYTHING == 42)
#define FALSE (THE_ANSWER_TO_LIFE_THE_UNIVERSE_AND_EVERYTHING != 42)
Nick
----------------------------------------------------------------
Nick Holgate <holgate@debian.org>
GPG key from public servers : Key ID FD9C18AF
Fingerprint = 9DCA EDEA D5C5 57DA 23F3 1A2B 2273 5645 FD9C 18AF
Reply to: