Thursday, October 4, 2007

Task 19

A one byte floating numbering system esus 5 places for the mantissa and 3 for hte exponant. Calculate the number 10111010 into decimal by filling int he following table.

This number is negitive. I know this because:
The first digits are 10

The mantissa (with the decimal place inserted) is:
1.0111

The mantissa converted into a negitive binary number that is not in 2s compliment is:
0.1001

The decimal point in the mantissa must no be moved:
2 places to the right

The mantissa now becomes:
010.01

Removing unneccessary zeros gives:
10.01

Converting from a negitive fixed point binary number into denary gives the final answer of:
2.25.

1 comment:

Anonymous said...

yeah all gud