Question

Can you write process of the question? A fictional floating-point encoding scheme uses 1 bit for...

Can you write process of the question?
A fictional floating-point encoding scheme uses 1 bit for sign followed by 1 bit for the exponent and 2
bits for the mantissa. It otherwise behaves exactly like the IEEE 754 encoding scheme. List down all
decimal values that can be represented by this scheme along with their binary representation.

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

Sign = 1 bit

exponent = 1 bit

Mantissa = 2 bits

Now Bias = 2n-1 - 1 = 21-1 - 1 = 1-1 = 0

Possible values of 4 bits:-

1) 0000 = + 0

2) 0001 = denormalised as per IEEE 754 so value is + 20x0.01 = +0.25

3) 0010 = denormalised as per IEEE 754 so value is + 20x0.10 = +0.5

4) 0011 = denormalised as per IEEE 754 so value is + 20x0.11 = +0.75

5) 0100 = +infinity according to IEEE 754

6)  0101 = Not a number(NAN) aacording to IEEE 754

7) 0110 = Not a number(NAN) aacording to IEEE 754

8) 0111 = Not a number(NAN) aacording to IEEE 754

9) 1000 = -0

10) 1001 = denormalised as per IEEE 754 so value is - 20x0.01 = -0.25

11) 1010 = denormalised as per IEEE 754 so value is - 20x0.10 = -0.5

12) 1011 = denormalised as per IEEE 754 so value is - 20x0.11 = -0.75

13) 1100 = - infinity according to IEEE 754

14) 1101 = Not a number(NAN) aacording to IEEE 754

15) 1110 = Not a number(NAN) aacording to IEEE 754

16) 1111 = Not a number(NAN) aacording to IEEE 754

Add a comment
Know the answer?
Add Answer to:
Can you write process of the question? A fictional floating-point encoding scheme uses 1 bit for...
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