Tests and assign the bit.
A non-zero value if the bit was set, and a zero if it was clear.
See Implementation
Tests and assign the bit.