http://qs1969.pair.com?node_id=428141


in reply to Bit operations for beginners

You have defined XOR as (a&b) | (~a&~b) , surely this is the inverse of XOR ( the biconditional).
Shouldn't XOR be defined as  (a&~b) | (~a&b)?

Replies are listed 'Best First'.
Re^2: Bit operations for beginners
by Cine (Friar) on Jun 19, 2005 at 11:57 UTC
    Indeed, corrected


    T I M T O W T D I