Do not “chop” the bits. Round the bits being removed:
- If the bits being removed are less than 10000…, just remove them.
- If the bits being removed are more than 10000…, remove them and add 1 to the remaining bits.
- If the bits being removed are exactly 10000…, remove them and add 1 to the remaining bits if their last bit is 1.
Thus:
- 1011 0101 becomes 1011. (0101 is less than 1000….)
- 1011 1010 becomes 1100. (1010 is more than 1000….)
- 1011 1000 becomes 1100. (1000 is exactly 1000…, remaining bits are odd, so add one.)
- 1010 1000 becomes 1010. (1000 is exactly 1000…, remaining bits are even, so do not add.)
(This is “round to nearest, ties to even”.)
Also, there is no mantissa in a floating-point number. The fraction portion is the significand. (A mantissa is logarithmic. A significand is linear.)