BitMathGetSetBitPositions(UInt64) Method

Returns the bit position for every bit that is set in the provided value. Bit positions are defined as 0-63;

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.141 -- Release Build+8fc1477299d57116e2a4f3cb8dfe059f814b239b
public static IEnumerable<int> GetSetBitPositions(
	ulong value
)

Parameters

value  UInt64
Target value for bit check enumeration.

Return Value

IEnumerableInt32
Enumeration of all set bit positions.

See Also