GATE / CS ARCHIVE

GATE CSE 2026 SET 2 / QUESTION 34

Decoding an IEEE-754 bit pattern

Computer Organization & Architecture · Data Representation & Arithmetic · Full GATE CSE 2026 Set 2 paper

GATE 2026 Set 2, Q34 1 mark · NAT
Report issue

Data Representation & Arithmetic

Question 34, GATE 2026: Decode hexadecimal 0xC2710000 as IEEE-754 binary32 and give its decimal value to two decimal places.
Tap to enlarge
Answer & solution

Official answer: -60.25 to -60.25

Our answer: -60.25

Step through it (6 steps)

Givens and goal

Decode hexadecimal 0xC2710000 as IEEE-754 binary32 and give its decimal value to two decimal places.

Approach

Extract sign, biased exponent, and fraction separately.

Step-by-step solution

1. The 32 bits are 11000010011100010000000000000000. Their binary32 split is sign 1 | exponent 10000100 | fraction 11100010000000000000000.
2. The sign contributes −1. The exponent field is 132, so the unbiased exponent is e=132−127=5. Since the exponent is neither all zero nor all one, use the normalized significand 1.f.
3. The fraction bits contribute 1/2+1/4+1/8+1/128=113/128. Thus the significand is 1+113/128=241/128.
4. The value is −(241/128)×2⁵=−241/4=−60.25. This value is exact, so rounding to two decimal places leaves −60.25. Do not interpret the entire 32-bit word as a two’s-complement integer; IEEE-754 uses separate fields.

Original paper, page 23 · Answer key