A one byte floating numbering system uses 5 places for the mantissa and 3 for the exponant. conver the number 1.5 into a normalised floating-point number.
Converting 1.5 into a fixed oint number gives:
1.1
The mantissa(with the decimal place inserted) is 5 digits long and must negin with 0.1. the mantissa is:
0.1100
To get the mantissa nack tot he original fixed point number, the decimal place must be moved:
one place to the right
The exponant, which is 3 digits long is:
001
Putting the mantissa and exponant together, the final answer is:
01100001
Wednesday, October 3, 2007
Subscribe to:
Post Comments (Atom)

1 comment:
good
Post a Comment