Reverse of the logical operator AND (&)

Phiber picture Phiber · Mar 26, 2014 · Viewed 9.1k times · Source
 a + b = c
 c - a = b

Ok, now

 a & b = c
 c ?? a = b

which operator replace "??" ?
Thanks

Answer

Bathsheba picture Bathsheba · Mar 26, 2014

It's impossible. This is because a & b is a lossy transformation.

You don't know whether any dropped 1 bits were part of a or b.