Standard extensions - (nf)

johnl at cca.UUCP johnl at cca.UUCP
Wed Nov 7 14:36:48 AEST 1984


#R:digi-g:-35200:ima:10100003:000:313
ima!johnl    Nov  6 10:12:00 1984

Logical XOR?  Sheesh.  How about this:

	!a != !b

or if you really like your truth values uninverted,

	!!a != !!b

(Incidentally, PCC and other C compilers I've seen generate good code
for such constructs.)

John Levine, ima!johnl

PS:  What's the syntax for logical XOR of two complex BCD aggregate constants?



More information about the Comp.lang.c mailing list