Given the bit pattern 1000 1111 1110 1111 1100 0000 0000 000
Given the bit pattern 1000 1111 1110 1111 1100 0000 0000 0000 what does it represents when it is
a.) a 2s compliment int
b.) an unsigned int
c.) a sign/magnitude int
d.) a single precision floating point number
Solution
Single precision floating point number :
It contains 32 bits.
From the question the binary number is splitted as
Option d is correct choice.
| sign( 1 bit) | Exponent(8 bits) | Mantissa(23 bits) |
| 1 | 000 1111 1 | 110 1111 1100 0000 0000 0000 |
