|
Hi, On Jun 2, 2007, at 9:44 AM, gtravis wrote:
It's still 0. >=9%3 -0 >=9%3==0 true >=9%3+0 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 same value. Some earlier computers (Control Data Cyber etc.) used one's complement for integers, so you had two representations of 0 there as well. Gé Weijers |