1. ## Moved, New question

Dear Professionals,

I want help from your end, Could you please any one help me following question.
If u help me, i will great full to you.

1. A computer stores a number in a 16-bit word using floating-point arrangement. Given that the first bit is reserved for the sign, followed by 6 bits for the exponent having a biased of (+31) and the remaining bits for the mantissa with a hidden bit. Show how the computer stores -0.625.

Regards

Ravikumar
Lecturer of Statistics
BMA-Bangalore-37.

2. Originally Posted by Ravikumar
Dear Professionals,

I want help from your end, Could you please any one help me following question.
If u help me, i will great full to you.

1. A computer stores a number in a 16-bit word using floating-point arrangement. Given that the first bit is reserved for the sign, followed by 6 bits for the exponent having a biased of (+31) and the remaining bits for the mantissa with a hidden bit. Show how the computer stores -0.625.

Regards

Ravikumar
Lecturer of Statistics
BMA-Bangalore-37.
-0.625= $-\frac{5}{8}= -\frac{5}{2^3}= -5(2^{-3})$
This is negative so the first bit is 1.
Since the exponent is represented with a bias of +31, this exponent is represented by -3+ 31= 29 which is 011101 in base2. 5 is 101 in base 2 so this number would be represented by 1011101000000101. That is the way I would do it. I confess that I don't know what "a hidden bit" is.