Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App

Related Articles

ISRO | ISRO CS 2014 | Question 8

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

In the standard IEEE 754 single precision floating point representation, there is 1 bit for sign, 23 bits for fraction and 8 bits for exponent. What is the precision in terms of the number of decimal digits?
(A) 5
(B) 6
(C) 7
(D) 8

Answer: (C)

Explanation: Precision can be understood as the maximum accuracy through which a floating point number can be represented.
It is the smallest change that can be represented in floating point representation. The fractional part of a single precision normalized number has exactly 23 bits of resolution, (24 bits with the implied bit).
In terms of decimal representation:
let the number of digits in decimal digits be ‘x’
2-23 = 10-x
taking log
log210-x = -23
-x log210 = -23
-3.322 x = -23
x = 6.92
So, correct answer is (C)

Quiz of this Question

My Personal Notes arrow_drop_up
Last Updated : 11 May, 2018
Like Article
Save Article
Similar Reads