bias = (2^(k-1)) -1

Thats how we calculate bias

Thats how we calculate bias

The Gateway to Computer Science Excellence

0 votes

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????

bias formula for IEEE floating point representation is 2^(k-1)-1 Is it right????

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

52,375 questions

60,585 answers

202,002 comments

95,407 users