Subject RE: [firebird-support] Bug: "-0" <> "0" in FB indexes !!!
Author Russell Eva
Isn't this only on 2's complement numbering systems. 1's complement doesn't
have -0 just one extra value at the - end of the scale?

-----Original Message-----
From: Franz-Leo Chomse [mailto:franz-leo.chomse@...]
Sent: 25 March 2004 22:37
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] Bug: "-0" <> "0" in FB indexes !!!


>This is tested with Firebird 1.02, 1.03 & 1.5
>
>Anyone knowing this bug ?

That's no bug, that's a feature.

The binary representation of these two values ARE different, thus the test
for equal fails on lowest level.

Regards from Germany

Franz-Leo




Yahoo! Groups Links