I studied binary arithmetic more and ran into problem -21/-3 . Expected Answer 7 . Of course, I know that we can do this by canceling the negative sign and dividing 21 by 3 . I saw the beauty of two additions in subtracting two numbers.
So, I started like this:
-21 is: 11101011 -3 is: 11111101
I originally tried to divide, but since the numerator is greater than the division of the denominator, this is not possible. It is also clear that this is the equivalent of dividing 235 by 253 . So my question is how can I separate two negative numbers using two complement methods. Is this separation allowed or is it not possible to share it?
source share