BigInteger.IsBitSet Method

Returns whether the bit at the specified position is set to 1.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.2
C#
public bool IsBitSet(
	int index
)

Parameters

index  Int32
The zero-based index of the bit to query.

Return Value

Boolean
true if the bit at position index in the number is 1; otherwise false.

See Also