# Bitwise
{id: bitwise}

## bitwise operators
{id: bitwise-operators}
{i: <<}
{i: >>}
{i: &}
{i: |}
{i: ^}
{i: &^}

```
&, |, ^, &^
```


bitshift operators

```
<<
>>
```

![](examples/bitwise/bitwise.go)
![](examples/bitwise/bitwise.out)

## bitwise left shift
{id: bitwise-left-shift}

![](examples/bitwise-left-shift/bitwise_left_shift.go)
![](examples/bitwise-left-shift/bitwise_left_shift.out)

## bitwise not
{id: bitwise-not}

![](examples/bitwise-not/bitwise_not.go)
![](examples/bitwise-not/bitwise_not.out)

## bitwise clear bit - AND NOT
{id: bitwise-clear-bit-and-not}

![](examples/bitwise-and-not/bitwise_and_not.go)
![](examples/bitwise-and-not/bitwise_and_not.out)
