BigInteger.IsPowerOfTwo Property

Gets whether the number is a power of two..

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public bool IsPowerOfTwo { get; }

Return Value

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

See Also