Question:

Suppose we have a 10-bit computer that uses 10-bit floating-point computational unit (Flot number uses IEEE floating-point arithmetic where a floating point number has 1 sign bit, 5 exponent bits, and 4 fraction bits). The representation for \( +\infty \) (plus infinity) is:

Show Hint

In IEEE 754 format, \( +\infty \) is represented with an exponent of all ones and a fraction of zeros, with the sign bit being 0.
Updated On: Oct 18, 2025
  • 0 11111 0000
  • 1 11111 0000
  • 0 00000 1111
  • 0 11111 1111
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

In IEEE 754 floating-point representation, the special value for \( +\infty \) is represented as follows: - Sign bit: 0 for positive values (since we are dealing with \( +\infty \)). - Exponent: The exponent is all ones (11111 for a 5-bit exponent) for infinity. - Fraction: The fraction is all zeros for infinity. Thus, the correct representation for \( +\infty \) is: \[ \boxed{0 \, 11111 \, 0000} \]
Was this answer helpful?
0
0