Quad.Is Pow 2 Method
Determines if a value is a power of two.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
true if value is a power of two; otherwise, false.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static bool IsPow2(
Quad value
)
Parameters
- value Quad
- The value to be checked.
Return Value
Booleantrue if value is a power of two; otherwise, false.