By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,607 Members | 1,650 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,607 IT Pros & Developers. It's quick & easy.

relation b/n floating point number representation in bit words

P: 16
I have faced this question in many written interview question, but cant find any accurate solution.
My question is:

Accuracy of the floating point numbers representable in two 16-bit words of a computer is approximately ...........?

How can I solve this problem?
Jun 24 '14 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 1,510
16bit is Half precision floating point and in the IEEE format the mantissa is 9 bits and gives approximately 3 decimal digits of significant precision.

for example, see documentation on the ARM microcontroller

and gcc compiler documentation

in the case of 32-bit (single precision floating point) the precision is approximately 7 decimal digits
Jul 27 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.