GATE Computer ScienceVery hardGATE CS (PYQ pattern)
The IEEE 754 single-precision pattern 0xC2F60000 represents −123.0. What is the single-precision bit pattern of −123 × 2⁻¹³⁵?
- A. 0x80F60000
- B. 0x803D8000
- C. 0x801EC000
- D. 0x800F6000
Correct answer: C. 0x801EC000
−123 = −1.921875 × 2⁶, so the value is −1.921875 × 2⁻¹²⁹, below the smallest normal exponent −126: it is a denormal −0.240234375 × 2⁻¹²⁶. Fraction field = 0.240234375 × 2²³ = 0x1EC000 (the significand 1.111011 with the hidden 1 made explicit and shifted right 3 places). Pattern 0x801EC000.
More Digital Logic questions
- In C with IEEE 754 single-precision float, let x = 16777216.0f (2²⁴). What are the values of (x + 1.0f) + 1.0f and x + (1.0f + 1.0f)?
- How many IEEE 754 single-precision numbers x satisfy 1 ≤ x < 1000?
- How many of the 2³² IEEE 754 single-precision bit patterns represent a finite value that is an integer (both zeros included, both signs…
- What is the smallest positive integer N such that N + 0.5 is NOT exactly representable in IEEE 754 single precision?
- Which of the following comparisons evaluate to true when done in IEEE 754 double-precision arithmetic (round to nearest even)? I. 0.1 +…
- A hypothetical 8-bit floating-point format follows IEEE 754 conventions: 1 sign bit, 4 exponent bits (bias 7), 3 fraction bits, with…