Download Number Systems

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Negatives: Two’s complement
• With N bit numbers, to compute negative
– Invert all the bits
– Add 1
• Example: -25 in 8-bit two’s complement
–
25  00011001
– Invert bits: 11100110
– Add 1:
1
11100111