The Gateway to Computer Science Excellence
0 votes
73 views

in CO and Architecture by Active (1.6k points) | 73 views

1 Answer

0 votes

lets try to decode it...

since we have 31 bits floating point number... where 1 bit reserved for sign(s) value.

and bias value = 127 . since bias value= 2n-1 -1 = 127 ' therefore n=8

so bits reserved for exponent(e) = 8bits

bits for mantissa(M) = 31-(1+8) = 22bits.

now... normalized value = (-1)s * 1.M * 2   (e=available exponent)

              since BIASED EXPONENT= BIAS + AVAILABLE EXPONENT

                                       =>AE = (00111110)2-127

                                                   = -65

so value =  (-1)1 * 1.0000000001000000000000 * 2 -65

              =-1 * (1+.0000000001000000000000) *2 -65

             = -1 * (1+ 2-10) * 2 -65

so answer is option C.

by Boss (12.1k points)
0
Well explained.
0
its not that tough just decode it neatly... u will get everything :)
0
Actually I got the exact answer but mistakenly wrote 1 bit wrong.
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,737 questions
57,313 answers
198,349 comments
105,051 users