The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
40 views
In Single Precision floating point number when E=0  and M not equals to 0 it represents a fractional form..(BiAS=+127)

when writing the decimal form why do we right (-1)^S * (1.M) * 2^(-126) instead of  (-1)^S * (1.M) * 2^(-127)??
asked in CO and Architecture by (227 points) | 40 views
0

@ I feel you should take it as (-1)^S * (1.M) * 2^(E-127) for single precision because this is the format prescribed by IEEE .

The actual exponent is biased by 127 to get E that is the actual value of the exponent is E − 127. This gives the range: $2^{1-127}=2^{-126} \, to \,\, 2^{254-127}=2^{127}$  .

are you preparing for GATE'20 ?

1 Answer

0 votes

@ I feel you should take it as (-1)^S * (1.M) * 2^(E-127) for single precision because this is the format prescribed by IEEE .

The actual exponent is biased by 127 to get E that is the actual value of the exponent is E − 127. This gives the range: $2^{1-127}=2^{-126} \, to \,\, 2^{254-127}=2^{127}$  .

 

answered by (243 points)

Related questions

0 votes
0 answers
3
+1 vote
2 answers
4
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
49,808 questions
54,481 answers
188,251 comments
74,527 users