A two-byte floating-point numbering system uses 10 places for the mantissa and 6 for the exponent. Convert the number 1011 1111 1111 1111 into decimal by filling in the following table :
Step 1 : The number is negative because it starts with a 1.
Step 2 : The mantissa is : 1.011111111
Step 3 : The mantissa in Negative Binary : -(0.100000001)
Step 4 : The exponent is negative because it starts with a 1.
Step 5 : Exponent = 111111. Negative Binary = -(000001)
Step 6 : The decimal point in the mantissa must now be moved
1 place to the left.
Step 7 : The mantissa now becomes : -(0.0100000001)
Step 8 : The mantissa stays the same : -(0.0100000001)
Step 9 : Denary : 0.250976562
Thursday, 4 October 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment