title: XOR between floats in python
body: <p>I am implementing conversion from RGB to Yxy color and the pseudocode guides me to execute XOR (^) operation on two float variables. How I can do this in python? I get this error:</p>
  
  <p>unsupported operand type(s) for ^: 'float' and 'float'</p>
  
  <p>Take a look at this pseudocode: <a href="http://www.easyrgb.com/index.php?X=MATH&amp;H=02#text2" rel="nofollow">http://www.easyrgb.com/index.php?X=MATH&amp;H=02#text2</a>.</p>