What are the mantissa and exponent required respectively to represent ‘5’ in binary floating point representation?

Nguyễn Pháp

New member
What are the mantissa and exponent required respectively to represent ‘5’ in binary floating point representation?
A. 011,0.110000
B. 0.110000,011
C. 011,0.101000
D. 0.101000,011
 
Answer: d
Explanation: We can represent 5 as
5=0.625*8=0.625*2$^{3}$
The above number can be represented in binary float point representation as 0.101000*2$^{011}$
Thus Mantissa=0.101000, Exponent=011.
 

Tìm kiếm

Back
Top