The first case is:
int A = 4;
int B = 7;
A = B;
The second case is:
int A = 4;
int B = 7;
A += B - A;
That is, these cases should be equivalent if the rotation works the way I think.
The first case is:
int A = 4;
int B = 7;
A = B;
The second case is:
int A = 4;
int B = 7;
A += B - A;
That is, these cases should be equivalent if the rotation works the way I think.