In a normalised floating point representation, mantissa is represented using 24 bits and exponent with 8 bits using signed representation. What is range ?

This question is related to Cisco Interview

Showing Answers 1 - 7 of 7 Answers

Y.S.V.Sudheer IITR

  • Dec 18th, 2005
 

range=  - max value to + max value.

As in mantissa, 1 bit is allocated for sign , the max value stored in 23 bits is

(2 power23)-1 .

Similarly In exponent max value stored is ( 2power7)-1

There fore

Range is - ((2 power 23)-1) *(10 power 127) to +- ((2 power 23)-1) *(10 power 127)

  Was this answer useful?  Yes

sumanyaram

  • Dec 5th, 2006
 

mantissa=24 bits , exponent=8 bitsfirst consider the exponent,range is -128 to +127second consider the mantissa , max is all onesso ans is: 24 ones X (2^127) is the max positivenumber -24 ones X (2^127) is the max negative numberwe use negative powers to represent small numbers not negative numbers!

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions