fn() testAllOnes
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

Thread safety unknown!

See Also