|
BitMathIsPowerOfTwo(UInt64) Method
|
Determines if the number is a power of 2.
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.300-beta+b2186e2cd1f968c931b0e151fdd7c839f3d1e9cf
Syntaxpublic static bool IsPowerOfTwo(
ulong value
)
Public Shared Function IsPowerOfTwo (
value As ULong
) As Boolean
static member IsPowerOfTwo :
value : uint64 -> bool GSF.BitMath.IsPowerOfTwo = function(value);
View SourceParameters
- value UInt64
- The value to check power of two properties
Return Value
Boolean
See Also