GATE 2022 CS – Question 41
Consider three floating point numbers $A$, $B$ and $C$ stored in registers $R_A$, $R_B$ and $R_C$, respectively as per IEEE-754 single precision floating point format. The 32-bit content stored in these registers (in hexadecimal form) are as follows.
$R_A$ = 0xC1400000, $R_B$ = 0x42100000, $R_C$ = 0x41400000
Which one of the following is FALSE?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) $C=A+B$
Explanation
Decoding gives A = −12, B = 36 and C = 12. Then A + C = 0 and B = 3C are true, and B − C = 24 > 0 is true. But A + B = 24 ≠ C, so B is false.