Extended bits operators (The GNU Algol 68 Compiler)

### 7.5 Extended bits operators ¶

Operator: xor `= (l bits a, b) l bits` ¶

  Dyadic operator that yields the bit exclusive-or operation of the given bits arguments.

Operator: set `= (l bits b, int n) l bits` ¶

  Dyadic operator that sets the `n`th least significant bit in `b`, where `n` is zero based. If `n` is not in the range `[0,L_bits_width)` then the operator yields b.

Operator: clear `= (l bits b, int n) l bits` ¶

  Dyadic operator that clears the `n`th least significant bit in `b`, where `n` is zero based. If `n` is not in the range `[0,L_bits_width)` then the operator yields b.

Operator: test `= (l bits b, int n) bool` ¶

  Dyadic operator that tests whether the `n`th least significant bit in `b` is set, where `n` is zero based. If `n` is not in the range `0,L_bits_width)` then the operator yields false.