fn() testAllOnesTests whether all bits of the given value are set to 1.
Tests whether all bits of the given value are set to 1.
| Defined in | <seqan/misc.h> |
|---|---|
| Signature |
bool testAllOnes(val)
|
Parameters
val
|
The value to check the bits for. Must be of type IntegerConcept. |
|---|
Return Values
bool |
true if all bits are set to 1, false otherwise. |
|---|
Data Races
If not stated otherwise, concurrent invocation is not guaranteed to be thread-safe.