A one-byte floating-point numbering system uses 5 places for the mantissa and 3 for the exponent. Convert the number -1.5 into a normalised floating-point number by filling in the following table :
Step 1 : 1.5 in binary : 1.1
Step 2 : Mantissa : 0001.1
Step 3 : 2s Complement: 1110.1
Step 4 : Normalised : 111.01
Step 5 : Proper Normalised : 1.0100
Step 6 : The decimal point needs to be moved 1 place to the
right
Step 7 : Exponent is : 001
Step 8 : 10100001
Thursday, 4 October 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment