Detailed Video Explanation of Range of Binary Numbers in ALL Representations: https://youtu.be/JxK_KfSa4GY
$\color{red}{\text{Range of Binary Numbers in Various Representations}}$, using $n-bits$:
1. Unsigned Binary Numbers:
- Min: $000 \dots 0$ = $(0)_{10}$
- Max: $111 \dots 1$ = $(2^n - 1)_{10}$
- Range of integer values: $0$ to $2^n -1$
- The number of distinct integers that can be represented is: $2^n$
- Every number that can be represented, has a unique representation.
2. Sign-Magnitude Representation of Signed Binary Numbers:
- Min: $111 \dots 1$ = $-(2^{n-1} -1)_{10}$
- Max: $011 \dots 1$ = $(2^{n-1} - 1)_{10}$
- Range of integer values: $-(2^{n-1} -1)$ to $(2^{n-1} -1)$
- The number of distinct integers that can be represented is: $2^n -1$
- $0$ has two different representations in Sign-Magnitude Representation: $000 \dots 0$ & $100 \dots 0$
- Every number except $0$, has a unique representation.
3. 1's Complement Representation of Signed Binary Numbers:
- Min: $100 \dots 0$ = $-(2^{n-1} -1)_{10}$
- Max: $011 \dots 1$ = $(2^{n-1} - 1)_{10}$
- Range of integer values: $-(2^{n-1} -1)$ to $(2^{n-1} -1)$
- The number of distinct integers that can be represented is: $2^n -1$
- $0$ has two different representations in Sign-Magnitude Representation: $000 \dots 0$ & $111 \dots 1$
- Every number except $0$, has a unique representation.
4. 2's Complement Representation of Signed Binary Numbers:
- Min: $100 \dots 0$ = $-(2^{n-1})_{10}$
- Max: $011 \dots 1$ = $(2^{n-1} - 1)_{10}$
- Range of integer values: $-(2^{n-1})$ to $(2^{n-1} -1)$
- The number of distinct integers that can be represented is: $2^n$
- Every number that can be represented, has a unique representation.
Detailed Video Explanation of Range of Binary Numbers in ALL Representations: https://youtu.be/JxK_KfSa4GY
Related Important Lectures:
Sign Extension Concept in ALL Representations: https://youtu.be/dkoaDtyiz9k