Question

(30 pts) In addition to the default IEEE double-precision format (8 byte 64 bits) to store floating-point numbers, MATLAB can

0 0
Add a comment Improve this question Transcribed image text
Answer #1
Smallest positive:
--------------------
0 00000001 00000000000000000000000
sign bit is 0(+ve)
exp bits are 00000001 => in decimal it is 1
so, exponent/bias is 1-127 = -126
frac bits are

Decimal value is 1. * 2^-126
1. in decimal is 1
1. * 2^-126 in decimal is 1.1754943508222875e-38
so, 00000000100000000000000000000000 in IEEE-754 single precision format is 1.1754943508222875e-38
smallest positive value is 2^-126 which is 1.1754943508222875e-38

machine epsilon is 2^-23 because mantissa is of length 23
Add a comment
Know the answer?
Add Answer to:
(30 pts) In addition to the default IEEE double-precision format (8 byte 64 bits) to store...
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