title: XOR operation on three values
body: <p>I have three boolean values. I need to return <code>false</code> if all three are <code>true</code> or if all three are <code>false</code>. I will return <code>true</code> in every other situation. Based on my research, in some specifications this is called a three-variable exclusive-or.</p>
  
  <p>Edit: Some specifications claim a three variable XOR involves the only <code>true</code> result would come from a set where only one parameter is <code>true</code>. The XOR I am referring to here is of another specification where multiple values may be <code>true</code>, but not all.</p>
  
  <ul>
  <li><p>What's the fastest way to perform this operation? <code>a xor b xor c</code> doesn't work</p></li>
  <li><p>What's if it wasn't three but n parameters?</p></li>
  </ul>
  
  <p>Here's the truth table for my desired operation (xor with three params).</p>
  
  <pre><code>A   B   C   -
  T   T   T   F
  T   T   F   T
  T   F   T   T
  T   F   F   T
  F   T   T   T
  F   T   F   T
  F   F   T   T
  F   F   F   F
  </code></pre>