RosettaCodeData/Task/Bitwise-operations/Factor/bitwise-operations-2.factor
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

8 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