fn() testAllOnes
Tests whether all bits of the given value are set to 1.

Defined in <seqan/misc.h>
Signature bool testAllOnes(val)


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.

See Also