Question

Can anyone explain to me why I've seen the equation Bias= 2^exponentbits -1 and Bias= (2^exponentbits...

Can anyone explain to me why I've seen the equation

Bias= 2^exponentbits -1 and

Bias= (2^exponentbits -1)-1

I'm confused on what equation to use. Can you please clarify? Thanks

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

Ans:

Bias = ( 2exponent_bits - 1)-1

It is the correct expression to find Bias

Because ,

Let's take single precision (32-bit), among 32 bits we have 1 sign bit, 8 exponent bits and 23 magnitude bits.

So, the Bias =(28-1)-1 = 27 -1 =128 -1 = 127

Actually the Bias for single precision is 127 only.

So, the correct equation is

Bias = (2exponent_bits - 1) - 1

Add a comment
Know the answer?
Add Answer to:
Can anyone explain to me why I've seen the equation Bias= 2^exponentbits -1 and Bias= (2^exponentbits...
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
ADVERTISEMENT