Question 7903 – Digital-Logic-Design
The n-bit fixed-point representation of an unsigned real number X uses f bits for the fraction part. Let i = n-f. The range of decimal values for X in this representation is
Correct Answer: D
Question 12 Explanation:
Size of the fixed point number → n-bits
Number of bits in fraction part → f-bits
Number of bits in integer part → (n – f) bits
Minimum value:
000…0.000…0 = 0
Maximum value:

= (2 n-f – 1) + (1 – 2 -f
= (2n-f – 2 -f)
= (2i – 2 -f )
Number of bits in fraction part → f-bits
Number of bits in integer part → (n – f) bits

Minimum value:
000…0.000…0 = 0
Maximum value:

= (2 n-f – 1) + (1 – 2 -f
= (2n-f – 2 -f)
= (2i – 2 -f )
2-f to 2i
2-f to (2i – 2-f)
0 to 2i
0 to (2i – 2-f )