Return the index of the lowest‐order set bit in a non‐zero value.

Synopsis

Declared in <bdlb_bitstringimputil.h>

static
int
find1AtMinIndexRaw(uint64_t value);

Description

Return the index of the lowest‐order set bit in the specified non‐zero value. The behavior is undefined unless 0 != value. Note that this method is "raw" due to the requirement that at least one bit in value must be set.

Return Value

index of the lowest‐order set bit

Parameters

Name

Description

value

non‐zero word to search

Created with MrDocs