public static int GetFirstBit1(uint v) { return MultiplyDeBruijnBitPosition[((uint)((v & -v) * 0x077CB531U)) >> 27]; } }