Bitwise operations: Difference between revisions
Content added Content deleted
Line 2,897: | Line 2,897: | ||
x = 11 |
x = 11 |
||
y = 2 |
y = 2 |
||
print x |
|||
print y |
|||
print bitnot x |
print bitnot x |
||
print bitand x y |
print bitand x y |
Line 2,897: | Line 2,897: | ||
x = 11 |
x = 11 |
||
y = 2 |
y = 2 |
||
print x |
|||
print y |
|||
print bitnot x |
print bitnot x |
||
print bitand x y |
print bitand x y |