11-11-2022, 12:38 AM
(11-11-2022, 12:30 AM)Kernelpanic Wrote:(11-10-2022, 11:48 PM)vinceplease review Steve's useful tutorial on bitwise operations Wrote: https://staging.qb64phoenix.com/showthread.php?tid=305
I can't find anything there for my question. The question is like this:
NOT(10) = -11 -- That is fine and understanding
NOT(20) = -21 -- The same
But why is then: Not(10) AND Not(20) = -31?
-11 = &B1111111111110101
-21 = &B1111111111101011
AND ================
&B1111111111100001
-31 = &B1111111111100001