Wednesday, October 3, 2007

Task 12

A one byte floating numbering system uses 5 places for the mantissa and 3 for the exponent. Convert the number 2.25 into a normalised floating nnumber using the following table to guide you.

Converting 2.25 into a fixed point number gives me:
10.01

The mantissa (with the decimal place inserted) is 5 digits long and must begin with 0.1, the mantissa is:
0.1001

to get the mantissa back to the original fixed point number, the decimal place must move:
2 places to the right

The exponant, which is 3 digits long is:
010

Putting the mantissa and the exponant together, the final answer is:
01001010

1 comment:

Anonymous said...

Again all right