I was browsing wikipedia (https://en.wikipedia.org/wiki/Bitwise_operation) when I came across this mathematical equivalent of the bitwise NOT operation.
I can't find a derivation of this anywhere and wondered if anyone knows where it comes from?
I was browsing wikipedia (https://en.wikipedia.org/wiki/Bitwise_operation) when I came across this mathematical equivalent of the bitwise NOT operation.
I can't find a derivation of this anywhere and wondered if anyone knows where it comes from?