fn() isBitSetReturns whether the bit with the given index is set to 1.
Returns whether the bit with the given index is set to 1.
Defined in | <seqan/misc/bit_twiddling.h> |
---|---|
Signature |
bool isBitSet(word, index);
|
Parameters
word
|
The word to check (IntegerConcept). |
---|---|
index
|
The index of the bit to check (IntegerConcept). |
Return Values
bool |
Whether the bit with the given index is set in word. |
---|