Issue #382 new
Originally reported on Google Code with ID 382
There are bitwise AND, OR and Shift operators in the latest code, but no bitwise not. The not function seems to be doing a 2's complement, not a straight toggle of bits. E.g. not(0b101010) = -0b101011 (I am expecting 0b010101) Can you please a ~ operator that simply toggles the bits, (like the C++ ~ operator)? Thanks Alan.
alan.n.davies on 2011-07-05 13:44:25