The Gateway to Computer Science Excellence
0 votes
80 views

Consider the following IEEE single precision format

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

 

 

in CO and Architecture by (379 points)
reopened by | 80 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

0
0
But fraction part doesn't contain all zeros.so it is not -0. It is a denormalized number which is -0.875*2^-126
0
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 (159 points)
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,647 questions
56,473 answers
195,392 comments
100,367 users