Big Integer.Is Bit Set 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#
true if the bit at position index in the number is 1; otherwise false.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.2
public bool IsBitSet(
int index
)
Parameters
- index Int32
- The zero-based index of the bit to query.
Return Value
Booleantrue if the bit at position index in the number is 1; otherwise false.