Bitwise Operators
=================
```Example from 1 languages: JavaScript
var x = 5 & 1;
```
```Example from 1 languages: C
int i = 4; /* bit pattern equivalent is binary 100 */
int j = i << 2; /* makes it binary 10000, which multiplies the original number by 4 i.e. 16 */
```
```Example from 2 languages: Python, Speedie
x << y
```
```Example from 1 languages: R
! x
x & y
x && y
x | y
x || y
xor(x, y)
```
```Example from 1 languages: Lua
& | ~ << >> ~
```
```Example from 1 languages: C3
int i = b << 4 + x; // Same as (b << 4) + x
```
```Example from 1 languages: MoonBit
1 & 0
```
```Example from 1 languages: Slope
(& 0xFF 0x1B)
```
```Example from 1 languages: Jule
& | ^ << >>
```
*
Languages *with* Bitwise Operators include JavaScript, C, Python, R, Lua, Chapel, C3, MoonBit, C2, Slope, Dale, Jule, SAKO, Speedie
*
Languages *without* Bitwise Operators include progsbase
*
View all concepts with or missing a *hasBitWiseOperators* measurement
http://pldb.info/../lists/explorer.html#columns=rank~id~appeared~tags~creators~hasBitWiseOperators&searchBuilder=%7B%22criteria%22%3A%5B%7B%22condition%22%3A%22null%22%2C%22data%22%3A%22hasBitWiseOperators%22%2C%22origData%22%3A%22hasBitWiseOperators%22%2C%22type%22%3A%22num%22%2C%22value%22%3A%5B%5D%7D%5D%2C%22logic%22%3A%22AND%22%7D missing
http://pldb.info/../lists/explorer.html#columns=rank~id~appeared~tags~creators~hasBitWiseOperators&searchBuilder=%7B%22criteria%22%3A%5B%7B%22condition%22%3A%22!null%22%2C%22data%22%3A%22hasBitWiseOperators%22%2C%22origData%22%3A%22hasBitWiseOperators%22%2C%22type%22%3A%22num%22%2C%22value%22%3A%5B%5D%7D%5D%2C%22logic%22%3A%22AND%22%7D with
*
Read more about Bitwise Operators on the web: 1. 2.
https://en.wikipedia.org/wiki/Bitwise_operations_in_C 1.
https://en.wikipedia.org/wiki/Bitwise_operation 2.
Built with Scroll v178.2.3