Consider the single precision floating point numbers and
Which one of the following corresponds to the product of these numbers represented in the single precision format?
View worked solution
Answer: C
To find the product in IEEE-754 single-precision format, we decode both numbers:
1. Decode :
- Binary:
1100 0001 1000 0000 0000 0000 0000 0000 - Sign bit () = (negative)
- Biased Exponent () = Unbiased exponent
- Fraction () = Mantissa
- Value:
2. Decode :
- Binary:
0011 1111 0101 1100 0010 1110 1111 0100 - Sign bit () = (positive)
- Biased Exponent () = Unbiased exponent
- Fraction () =
- Value:
3. Compute the Product :
- Sign of product = Negative (since negative positive is negative)
- Product value:
- The unbiased exponent of the product is .
- The biased exponent of the product is .
- The fraction remains unchanged: .
4. Reassemble into IEEE-754 Single Precision format:
- Sign (1 bit):
1 - Exponent (8 bits):
1000 0010 - Fraction (23 bits):
101 1100 0010 1110 1111 0100 - Combined 32-bit binary:
1100 0001 0101 1100 0010 1110 1111 0100 - Hexadecimal representation:
0xC15C2EF4
Free practice · Your answers on this page are not saved.
