Hello
I am very confused with how negative numbers are represented in binary form.
They say it is done in 2s complement form.
Now won't this 2s complement of a negative number clash with an actual +ve number having the same binary representation?
And negation of a +ve number.....
We must 1st negate the bits individually and then the left most bit is going to be 1(mostly).
Now isn't that how -ve numbers are represented?
So if the negated +ve number is a -ve number should I now find its 2s complement and say that is how it is represented or should I just just leave it like that?Why so?
Also please provide me with links if you any that deal with bitwise opeartors on both +ve and -ve numbers.
Thank You
Please help me.