November 2017
Beginner
316 pages
6h 40m
English
These are not frequently used, except for it few. They are used to perform bitwise operations.
| Expression | Name |
| ~x | bitwise not |
| x & y | bitwise and |
| x | y | bitwise or |
| x ⊻ y | bitwise xor (exclusive or) |
| x >>> y | logical shift right |
| x >> y | arithmetic shift right |
| x << y | logical/arithmetic shift left |
Here are a couple of examples of bitwise operations:
julia> 100 | 200236julia> ~100-101
Read now
Unlock full access