Time to standardize "true" and "false"
Lehtinen Pertti
pl at etana.tut.fi
Fri Sep 29 00:12:49 AEST 1989
>From article <12070 at cit-vax.Caltech.Edu>, by wen-king at cit-vax.Caltech.Edu (King Su):
>
> #define bool(a) (!!(a))
>
> Then just use bool(X) whenever you wanted to use (bool)X.
>
Then suddenly just behind the corner cames C-compiler from
ACME-corporation and realizes '!!a' -> negation of negation is
same as original -> we can optimize it away.
Nice, isn't it. And too real too.
--
pl at tut.fi ! All opinions expressed above are
Pertti Lehtinen ! purely offending and in subject
Tampere University of Technology ! to change without any further
Software Systems Laboratory ! notice
More information about the Comp.lang.c
mailing list