cs2100-2-Number-Systems-Supp

cs2100-2-Number-Systems-Supp - NUMBERSYSTEMS...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
CS2100 Number Systems Supplementary Notes 1 NUMBER SYSTEMS SUPPLEMENTARY NOTES Complements Floating-point Numbers
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CS2100 Number Systems Supplementary Notes 2 COMPLEMENTS (1/3) “Find the complement of a number” or “complement a number” is the short way of saying… “find the negated value in that complement system”. For example, the two questions below are equivalent. [4-bit] Find/get the 1’s complement of 0110 (or, 1’s complement this value: 0110) Answer: 1001. [4-bit] If x is 0110 1s , what is -x in 1’s complement form? Answer: 1001 1s So, “find the 1’s complement of 0110” is not asking for “how is 0110 represented in 1’s complement”. See next slides for more examples.
Background image of page 2
CS2100 Number Systems Supplementary Notes 3 COMPLEMENTS (2/3) More examples: [8-bit] Find the 1’s complement of 101. Answer: 11111010 [8-bit] Find the 1’s complement of 11001000. Answer: 00110111
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/27/2011 for the course CS 2100 taught by Professor Shivakumar during the Spring '11 term at IIT Kanpur.

Page1 / 7

cs2100-2-Number-Systems-Supp - NUMBERSYSTEMS...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online