RosettaCodeData/Task/Bitwise-operations/EasyLang/bitwise-operations.easy
2023-07-01 13:44:08 -04:00

9 lines
184 B
Text

# numbers are doubles, bit operations use 32 bits and are unsigned
x = 11
y = 2
print bitnot x
print bitand x y
print bitor x y
print bitxor x y
print bitshift x y
print bitshift x -y