Click or drag to resize

BinaryMathIsNonzeroPowerOfTwo(Int32) Method

Returns if x is greater than 0 and is a power of two.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static bool IsNonzeroPowerOfTwo(
	int x
)

Parameters

x  Int32
The argument to test.

Return Value

Boolean
if x is greater than 0 and is a power of two; otherwise, .
See Also