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

The accuracy of the floating point numbers representable in two 16 bit words of a computer is approximately.

A
16 digits
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
6 digits
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
4 digits
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
All of the above
No worries! We‘ve got your back. Try BYJU‘S free classes today!
E
None of the above
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B 6 digits
The accuracy is 6 digits.
Here, the total number of bits is 32 and according to IEEE754 representation format if we want to represent a floating point number with single precision(32 bit) then all bits will be divided into 3 parts -
1) sign bit = 1 bit,
2) exponent = 8 bit and
3) fraction = 23 bit.

Example = 0.15625
IEEE754 single precision representation -
00111110001000000000000000000000
where,
sign bit = 0
exponent = 01111100
fraction = 01000000000000000000000

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