IAE Academy

GATE 2026 CS2 Q.34: solution and answer

GATE 2026 · CS2Q.34 · 1 mark · NAT

The 32-bit IEEE 754 single precision representation of a number is 0xC2710000. The number in decimal representation is ________. (rounded off to two decimal places)

See the question in the paper

Answer and solution

ANSWER

The number is .

Official answer: -60.25Source: Official answer key, GATE 2026 CS2 (IIT Guwahati)

  1. Write the hex word in binary: , and the other four hex digits are . So 0xC2710000 is .

  2. Split the 32 bits as 1 sign bit, 8 exponent bits and 23 fraction bits: .

  3. IEEE 754 single precision gives the value , where is the exponent field read as an unsigned number.

  4. The sign bit is , so the number is negative.

  5. The exponent field is , so the true exponent is .

  6. The fraction begins followed by zeros, so .

  7. Value , which is already exact to two decimal places.

KEY IDEA

Split the 32 bits as 1 sign, 8 exponent and 23 fraction bits. The value is , with the leading 1 of the mantissa implied.

WATCH OUT FOR

Regrouping the hex bits wrongly. The exponent field starts at the second bit, so it straddles the first two hex digits. Forgetting the implied leading 1, or the bias of 127, also gives a wrong value.

From the GATE 2026 CS2 paper. Every question of this paper · Download the full paper · All 18 Number systems questions, with notes

More Number systems questions