Bitwise operations: Difference between revisions
→{{header|AppleScript}}: Updated output of first Applescript version (rNum of << now masked with 31)
(→{{header|AppleScript}}: Updated use of JS << from Applescript (rNum max value is 31, beyond which only lowest 5 bits used)) |
(→{{header|AppleScript}}: Updated output of first Applescript version (rNum of << now masked with 31)) |
||
Line 748:
a XOR b -> 85 -> 00000000000000000000000001010101
NOT a -> -256 -> 11111111111111111111111100000000
a << b ->
a >>> b -> 0 -> 00000000000000000000000000000000
a >> b -> 0 -> 00000000000000000000000000000000</pre>
|