RosettaCodeData/Task/Bitwise-operations/Factor/bitwise-operations-2.factor

9 lines
83 B
Factor

a=255
b=5
a AND b: 5
a OR b: 255
a XOR b: 250
NOT a: -256
a asl b: 8160
a asr b: 7