fn() bitScanForward
Returns the index of the first set bit in the binary representation of the given value.

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

Parameters

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

Return Values

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

Detailed Description

Note:

If val is 0 the return value is undefined.

See Also