GATE Computer ScienceModerateGATE CSE · NIELIT

What is the IEEE 754 single-precision hexadecimal representation of −6.5?

  1. A. 0xC0C80000
  2. B. 0x40D00000
  3. C. 0xC1500000
  4. D. 0xC0D00000

Correct answer: D. 0xC0D00000

−6.5 = −1.101₂ × 2², biased exponent 129 = 10000001₂, so the bits are 1 10000001 101000… = 0xC0D00000.

More Computer Organization and Architecture questions

Exams that ask this topic