Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Bitwise-operations/AutoHotkey/bitwise-operations.ahk
Normal file
10
Task/Bitwise-operations/AutoHotkey/bitwise-operations.ahk
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
bitwise(3, 4)
|
||||
bitwise(a, b)
|
||||
{
|
||||
MsgBox % "a and b: " . a & b
|
||||
MsgBox % "a or b: " . a | b
|
||||
MsgBox % "a xor b: " . a ^ b
|
||||
MsgBox % "not a: " . ~a ; treated as unsigned integer
|
||||
MsgBox % "a << b: " . a << b ; left shift
|
||||
MsgBox % "a >> b: " . a >> b ; arithmetic right shift
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue