Since | 18.5 |

```
bitset(number, bit_index, value)
```

Returns the provided number with the bit corresponding to bit_index being either set if value is not zero, or clear if value is zero.

All operands are rounded to the nearest integer before processing.

Bit 0 corresponds to the rightmost bit. Negative bit indices, or bit indices over 63, will return the number unchanged.

## Examples

bitset (0, 3, 1) = 8

bitset (15, 3, 0) = 7