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

9 lines
83 B
Factor
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
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