0 votes
87 views

Consider the following IEEE single precision format

A fractional number X is stored as (80700000)16. The decimal equivalent of X is ______.

reopened | 87 views
0
Answer: -1.87 * 2^(-127) ?
0
no
0
Can you tell me the answer?
0
All exponent bits are $0$ so

X = $-0$
+1
whenever you're posting a test-series question, you've to specify it's name
0

@ Mk Utkarsh  How do you justify your answer?

If all the exponent bits are zero then it would be 1.M * B^(E-127)

Here E would become 0. It doesnt make whole equation 0

+1
+1
But fraction part doesn't contain all zeros.so it is not -0. It is a denormalized number which is -0.875*2^-126
+1
It should be -127 or -126?

## 1 Answer

0 votes

Acc to single precision format as E=0, M ~=0 then use fraction form:

here we have convert the number to base 2 using 4 digits because of base 8.

Now first 1 bit is sign bit and next 8 bits are Exponent and remaining bits are M.

You can convert fraction number to decimal (0.875).

by (191 points)

0 votes
1 answer
1
0 votes
0 answers
2
0 votes
0 answers
3
+1 vote
0 answers
4