Friday, 5 October 2007

Task 27

A two-byte floating point numberin gsystem uses 10 places for the mantissa and 6 for the exponent. Convert the number -11.125 into a normalised floating-point number by filling in the following table :

Step 1 : 11.125 in binary is 1011.001

Step 2 : Mantissa : 0001011.001

Step 3 : 2s complement : 1110100.111

Step 4 : Normalised Form : 1.001110000

Step 5 : The decimal place needs to be moved 2 places to the
left.

Step 6 : The exponenent : 111110

Step 7 : 1001 1100 0011 1110

No comments: