fn() bitScanReverse
Returns the index of the last set bit in the binary representation of the given value.

Defined in <seqan/misc.h>
Signature TWord bitScanReverse(val)


val The value to scan. Has to be non-zero.

Return Values

TWord The index of the last set bit in val, where TWord is the value of val.

Detailed Description


If val is 0 the return value is undefined.

Data Races

Thread safety unknown!

See Also