On Jun 2, 2007, at 9:44 AM, gtravis wrote:
I am getting the following modulo result
> = 9%3
Negative zero? Has anyone seen this.
It's still 0.
Floating point formats do not use a two's complement
representation, but a separate sign bit, so there are two
representations for 0.0. The comparison operators threat them as the
Some earlier computers (Control Data Cyber etc.) used one's
complement for integers, so you had two representations of 0 there as