Friday, 5 October 2007

Task 26

A two-byte floating-point numbering system uses 10 places for the mantissa and 6 for the exponent. Convert thenumber -8.5 into a normalised floating-point number by filling in the following table:

Step 1 : 8.5 in binary is : 1000.1

Step 2 : Mantissa : 000001000.1

Step 3 : 2s complement : 111110111.1

Step 4 : Normalised form : 1.011110000

Step 5 : Needs to be moved 4 places to the left.

Step 6 : The exponent is therefore 111100 = -4

Step 7 : The final answer is : 1011 1100 0011 1100

No comments: