Exam-style question
Try this first
Use the following simplified floating-point convention: the 8-bit mantissa has its binary point immediately after the sign bit, and the 8-bit exponent is stored in two's complement. Convert mantissa 11000000 and exponent 00000010 to decimal. Show how the two's-complement mantissa and exponent are interpreted.
Answer and explanation
Concise answer
The value is -2.
Why this is correct
The mantissa 11000000 is negative in two's complement. Interpreted as an 8-bit integer it is -64; with the binary point after the sign bit, it represents -64/128 = -0.5. The exponent 00000010 represents +2. Therefore, the floating-point value is -0.5 × 2^2 = -2.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
