returns true if v is a power of two or zero

Namespace: Lucene.Net.Util
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public static bool IsPowerOfTwo(
	long v
)
Visual Basic
Public Shared Function IsPowerOfTwo ( _
	v As Long _
) As Boolean
Visual C++
public:
static bool IsPowerOfTwo(
	long long v
)

Parameters

v
Type: System..::..Int64

[Missing <param name="v"/> documentation for "M:Lucene.Net.Util.BitUtil.IsPowerOfTwo(System.Int64)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Util.BitUtil.IsPowerOfTwo(System.Int64)"]

See Also