Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Bitwise-operations/ActionScript/bitwise-operations.as
Normal file
10
Task/Bitwise-operations/ActionScript/bitwise-operations.as
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
function bitwise(a:int, b:int):void
|
||||
{
|
||||
trace("And: ", a & b);
|
||||
trace("Or: ", a | b);
|
||||
trace("Xor: ", a ^ b);
|
||||
trace("Not: ", ~a);
|
||||
trace("Left Shift: ", a << b);
|
||||
trace("Right Shift(Arithmetic): ", a >> b);
|
||||
trace("Right Shift(Logical): ", a >>> b);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue