Gets whether the number is a power of two..
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public bool IsPowerOfTwo { get; }
Public ReadOnly Property IsPowerOfTwo As Boolean
Get
public:
property bool IsPowerOfTwo {
bool get ();
}
member IsPowerOfTwo : bool with get
Return Value
Type:
Boolean if the number is a power of two; otherwise
.
Reference