[erlang-questions] unary bitwise not

alekciy <>
Thu Mar 5 00:06:45 CET 2009


Why
1> bnot 153.
-154
?

I think 153 in binary 10011001 and after inverse = 01100110 = 102 in
decimal. Why in -154?

01100110+1?




More information about the erlang-questions mailing list