Xavier-Francois Roblot on 04 Feb 2003 19:23:27 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Equality test with bitand


Latest CVS version, it looks like there something wrong with bitand:

? a = 11184810
%1 = 11184810
? bitand(a, 1)
%2 = 0
? bitand(a, 1) == 0
%3 = 0
? bitand(a, 1) != 0
%4 = 1

Fortunately, we still get the followings :o)

? 0 == 0
%5 = 1
? 0 != 0
%6 = 0

Bye.

Xavier