BigInteger.IsPowerOfTwo Property

Gets whether the number is a power of two..

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public bool IsPowerOfTwo { get; }

Return Value

Boolean
true if the number is a power of two; otherwise false.

See Also