Bitwise
Prefix
! [ Precedence 250 ]
Overload | Description |
---|---|
! (n: Int) -> Int
|
Negates the bits of n
|
! (n &Int) -> Int
|
|
! (n @Int) -> Int
|
Binary
& [ Precedence 370 ]
Overload | Description |
---|---|
(a: Int) & (b: Int) -> Int
|
Calculates the bitwise operation a ∧ b
|
| [ Precedence 380 ]
Overload | Description |
---|---|
(a: Int) | (b: Int) -> Int
|
Calculates the bitwise operation a ∨ b
|
>> [ Precedence 350 ]
Overload | Description |
---|---|
(a: Int) >> (b: Int) -> Int
|
Calculates a with b bits shifted to the right
|
<< [ Precedence 360 ]
Overload | Description |
---|---|
(a: Int) << (b: Int) -> Int
|
Calculates a with b bits shifted to the left
|
^ [ Precedence 390 ]
Overload | Description |
---|---|
(a: Int) ^ (b: Int) -> Int
|
Calculates the bitwise operation a XOR b
|