The Gateway to Computer Science Excellence
0 votes
56 views
Bias formula for floating point representation is 2^k-1

bias formula for IEEE floating point representation is 2^(k-1)-1   Is it right????
in CO and Architecture by Junior (611 points) | 56 views
0
bias = (2^(k-1)) -1

Thats how we calculate bias
0
but when at some places where IEEE is not mentioned then first formula is used .....but at some place latter one is used?
0

@  yes correct 

1 Answer

0 votes
we do not use 2^(k-1) as bias in IEEE representation due to some exception as in IEEE we have some special values when Exponent=255 so if u will use 128 as bias then we can get exponent upto 127+128= 255 which is already reserved for some special values hence we use 2^(k-1) - 1
by (217 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,644 questions
56,517 answers
195,581 comments
101,143 users