Does this code always evaluate to false? Both variables are two's complement signed ints.
~x + ~y == ~(x + y)
I feel like there should be some number that satisfies the conditions. I tried testing the numbers between -5000
and 5000
but never achieved equality. Is there a way to set up an equation to find the solutions to the condition?
Will swapping one for the other cause an insidious bug in my program?