Click or drag to resize

BinaryMathIsPowerOfTwoOrZero(Int32) Method

Returns true if number is a power of two or is zero.

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

Parameters

x  Int32
Argument to test.

Return Value

Boolean
Returns true if the number is a power of two or is equal to zero.
See Also