GATE CS 2025 Set 2 Q39 — Number Representations (Fixed and Floating Point)
Explain with AI
Three floating point numbers X,Y, and Z are stored in three registers RX,RY, and RZ, respectively in IEEE754 single precision format as given below in hexadecimal:
RX=0xC1100000,RY=0x40C00000, and RZ=0x41400000
Which of the following option(s) is/are CORRECT?
View worked solutionShowHide
Answer: A;B;C
In the IEEE 754 single-precision floating-point representation, a 32-bit number is structured as:
Sign bit (S): 1 bit
Biased Exponent (E): 8 bits (with bias = 127)
Fraction (F): 23 bits
The value of the number is given by: (−1)S×(1.F)2×2E−127.