How can I implement XOR using basic mathematical operators like +,-,*,/
Update: Actually, I need to track change in two matrix having Boolean values. T
abs(A+B-1). if it doesn't do abs, then (A+B-1)*(A+B-1) should do it.