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, 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 nth 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 nth 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.