Click or drag to resize

BitMathIsPowerOfTwo(Int64) Method

Determines if the number is a power of 2.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.245-beta+94213ae9d4d0aa7a2c48e5398b12d267b99f868a
Syntax
public static bool IsPowerOfTwo(
	long value
)
View Source

Parameters

value  Int64
The value to check power of two properties

Return Value

Boolean
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionIf is less than zero
See Also