C Programming - Floating Point Issues - Discussion

Discussion Forum : Floating Point Issues - General Questions (Q.No. 7)
7.
The binary equivalent of 5.375 is
101.101110111
101.011
101011
None of above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
76 comments Page 8 of 8.

Nishtha said:   2 decades ago
Thanks dude.

Pravallika said:   2 decades ago
Wow thanks!:)

Harry said:   2 decades ago
Ya above one is a correct explanation .

Surya said:   2 decades ago
5.375

5 --> 101

0.375 * 2 = 0.75
0.75 * 2 = 1.5
0.5 * 2 = 1.0

Consider,only the decimal part from top to bottom ( 0 1 1)
THEREFORE, 5.375=101.011

Abirami said:   2 decades ago
I didn't understand the question. Please give me the correct explanation and how the ans comes.

Jai said:   2 decades ago
How to work out this ?


Post your comments here:

Your comments will be displayed after verification.