Question:

Which of the following statement is true about IEEE754 representation of +0 and -0?

Show Hint

In IEEE754, **+0** and **-0** differ only by the sign bit, while their exponent and mantissa bits are identical.
Updated On: Sep 25, 2025
  • have the same sign bit, but different mantissa bits.
  • differ only in the sign bit; their exponent and mantissa bits are identical.
  • have the same representation because they are mathematically equivalent.
  • differ in both their exponent and mantissa bits.
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

In the IEEE754 floating-point representation, **+0** and **-0** are represented in almost the same way except for the sign bit. 

- Both **+0** and **-0** share the same **exponent** and **mantissa** bits. 

- The only difference is the **sign bit**: - **+0** has the sign bit **0**. 

- **-0** has the sign bit **1**. This design ensures that **+0** and **-0** are treated as distinct values, even though they represent the same magnitude. 

Thus, the correct option is **(2)**: **"They differ only in the sign bit; their exponent and mantissa bits are identical."**

Was this answer helpful?
0
0