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.0
C#
public bool IsPowerOfTwo { get; }

Return Value

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

See Also