pos_of_mask

#define pos_of_mask( ) ctz(mask)

Retrieve the start position of bits mask (no more than 32 bits)

Parameters

mask

Mask of which to retrieve the start position.