wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Consider the following floating point number representation-
31 24 23 0
Exponent Maintissa
The exponent is in 2's complement representation and mantissa is in the sign magnitude representation in the range of. The magnitude of the normalised numbers in this representation is

A
0 to 1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
0.5 to 1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
223 to 0.3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
0.5 to (1223)
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D 0.5 to (1223)

The following floating point number representation-
31 24 23 0
exponent mantissa
The exponent is in 2's complement representation and mantissa is in the sign magnitude representation in the range of. The magnitude of the normalized numbers in this representation is 0.5 to (1-2−23).

Normalized numbers are of the form: 1.xxxx xxxx… …xxxx {ignoring sign and exponent part}. They always have a Leading 1 before decimal point.
While storing such a number in this floating point representation two cases can be there:

Case 1: We can store most significant 1 in mantissa along with other bits as (while MSB of mantissa is a sign bit as ‘S’):
Minimum Mantissa=> S100 0000 0000 0000 0000 0000 = 1.00 0000…0000 = 1
Maximum Mantissa=> S111 1111 1111 1111 1111 1111 = 1.1111…1111 = 2 – 2-22.

Case 2: We can ignore to do so assuming an implicit MSB as 1.
Minimum Mantissa=> S000 0000 0000 0000 0000 0000 = 1.000 0000…0000 = 1
Maximum Mantissa=> S111 1111 1111 1111 1111 1111 = 1.1111…1111 = 2 – 2-23.


937259_917718_ans_009ba6a8d8a248728b7ca49b8d06b962.PNG

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon