Similar questions 1 more →
Data Representation & Arithmetic

Answer & solution
Official answer: B
Step through it (9 steps)
Decode the binary32 values: 0xC1400000 has sign 1, exponent 130 and significand 1.5, giving −12. 0x42100000 has exponent 132 and significand 1.125, giving 36. 0x41400000 gives 12. Therefore C=A+B is false, since 12≠−12+36=24. The other offered relations hold, so B.
For normalized binary32, value=(−1)^sign ×(1+fraction/223)×2exponent−127. A has unbiased exponent 3 and fraction 0.5: −1.5×8=−12. B has exponent 5 and fraction 0.125: 1.125×32=36. C is +12. Thus A+C=0, B=3C, and B−C=24>0.