Ok, so lemme get this straight:
NOT(A) = 1.0 - A
AND(A, B) = min(A, B) [but sometimes A * B is used]
OR(A, B) = max(A, B) [but sometimes A + B - AND(A, B) is used]
If all of that is true…then what’s XOR(A, B)?
Thanks in advance,
Rob
Ok, so lemme get this straight:
NOT(A) = 1.0 - A
AND(A, B) = min(A, B) [but sometimes A * B is used]
OR(A, B) = max(A, B) [but sometimes A + B - AND(A, B) is used]
If all of that is true…then what’s XOR(A, B)?
Thanks in advance,
Rob
Nevermind, I figured it out. In case anyone’s curious:
XOR(A, B) = min(max(a, b), 1.0 - min(a,b))