Re: WP34S x=? in integer mode Message #7 Posted by Paul Dale on 13 Mar 2012, 6:46 p.m., in response to message #6 by Harald
Quote: So basically you are saying they are only interesting if I am using ones' complement because then I have both +0 and -0? But x=0? should be true for both +0 and -0?
That is a third of the ways negative zero can appear.
The sign & mantissa integer mode also has positive and negative zero. This isn't really any different to the 1s complement mode however.
Real numbers have positive and negative zeros, which is invaluable for numerical programming. You'll have to set flag D to see the difference.
And yes, x=0? is true for both positive and negative zero.
- Pauli
|