So for example, if we were to try and take the 2's complement of -8. Would this be un-representable or would doing the 2's complement result in a positive 8?
Asked
Active
Viewed 137 times
1 Answers
1
$-8$ when converted to binary gives $11111000$
Flipping the digits give $00000111$
Add $1$ we get $00001000$ which is equal to $8$
Kiran
- 4,198
-
Ah that makes much more sense. Thank you. – E. Hernandez Feb 21 '17 at 20:47