Lecture10 - Outline Outline Binary representation of...

Info icon This preview shows pages 1–12. Sign up to view the full content.

Outline Binary representation of integer numbers Operations on bits – The Bitwise AND Operator – The Bitwise Inclusive-OR Operator – The Bitwise Exclusive-OR Operator The Ones Complement Operator – The Ones Complement Operator – The Left Shift Operator – The Right Shift Operator Binary representation of floating-point numbers Review: Operators: The complete table of operator's precedence
Image of page 1

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

Binary representation of integers • Positive integers: Positive integers: 1 0 1 0 0 0 0 0 0 0 least significant or most significant or Sign bit significant or low-order bit significant or high-order bit 1*2^0+0*2^1+1*2^2=5
Image of page 2