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 nth least significant bit in b. If n is not in the range [1,L_bits_width] then the operator yields b.

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

Dyadic operator that clears the nth least significant bit in b. If n is not in the range [1,L_bits_width] then the operator yields b.

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

Dyadic operator that tests whether the nth least significant bit in b is set. If n is not in the range 1,L_bits_width] then the operator yields false.