I have spent the last 5 hours searching for an answer. Even though I have found many answers they have not helped in any way.
What I am basically looking for is a mathem
I think this relation might help in answering your question
A + B = (A XOR B ) + 2*(A.B)