Question

Consider the following scenario and answer the question. The single-precision 32-Bits (IEEE754) floating-point representation of the...

Consider the following scenario and answer the question.

The single-precision 32-Bits (IEEE754) floating-point representation of the number 3.3 is 0 10000000 10100110011001100110011.  Is the single-precision floating-point representation of 3.3 precise? Please Explain your Answer.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

--> Floating point representation is as follows:

             0              10000000            10100110011001100110011

           sign                exp                              mantissa

--> Sign bit tells it is positive

--> Exp value 10000000 = 128 in binary

--> After bias correction it is 128 - 127 = 1. So, exp is 21.

--> In mantissa the value stored is 1.649999976158142

--> So, after multiplying with exponent the actual value becomes,

                     3.2999999523162841796875

--> So, the single-precision floating-point representation of 3.3 is not precise. There is some error.

Add a comment
Know the answer?
Add Answer to:
Consider the following scenario and answer the question. The single-precision 32-Bits (IEEE754) floating-point representation of the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT