The nonexistent operator (along = v. == lines)

Alan Barclay alan at ukpoit.co.uk
Thu Apr 11 22:21:02 AEST 1991


In article <1991Apr3.184316.11559 at dg-rtp.dg.com> barnettr at snaggle.rtp.dg.com (Richard Barnette) writes:
>
>    A B | A XOR B    A B | A AND B    A B | A AND B
>   -----+---------  -----+---------  -----+---------
>    F F |    F       F F |    F       F F |    F   
>    F T |    T       F T |    T       F T |    F   
>    T F |    T       T F |    T       T F |    F   
>    T T |    F       T T |    T       T T |    T    
>
>    Given A if F, A AND B is always F; given A is T, A OR B is always
>T.  No such statement can be made for A XOR B;  if A is T, A XOR B is

I take it that the A AND B table should read F,F,T,T as F AND T is F.
-- 
  Alan Barclay
  iT                                |        E-mail : alan at ukpoit.uucp
  Barker Lane                       |        BANG-STYLE : .....!ukc!ukpoit!alan
  CHESTERFIELD S40 1DY              |        VOICE : +44 246 214241



More information about the Comp.lang.c mailing list