Distributive property

Playing with the XOR (^) operator

  • We have a ^ a = 0, where 0 represents a vector (bits) of all zeroes
  • This property holds even when the terms of an expression are re-arranged, leading to interesting expressions like:

Shift operations

Sources