From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 7 Jan 2005 20:34:08 -1000 From: Tim Newsham To: Rob Pike , Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] acid question In-Reply-To: <7359f04905010721411d96535e@mail.gmail.com> Message-ID: References: <7359f04905010721411d96535e@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Topicbox-Message-UUID: 2a123d5a-eace-11e9-9e20-41e7f4b1d025 > This at least can be fixed by putting > res->store.fmt = 'D'; Sure, but I'm really less concerned about the format associated with the result of the comparison than I am about the fact that although "a" and "b" show the same value, and "a-b" shows zero, the "==" operator says they are not the same. (Worse yet, if I compare "a-b" with zero, it also fails). > -rob > > a 0x800529a4 > > b 0x800529a4 > > a - b 0x00000000 > > b - a 0x00000000 > > a == b 0 > > a < b 0x00000001 > > b < a 0x00000000 > > a > b 0 > > b > a 1