Click or drag to resize

BinaryMathIsPowerOfTwoOrZero(Int64) Method

Return true if number is 0 (!) or a power of two

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

Parameters

x  Int64
Argument to test.

Return Value

Boolean
Return true if number is 0 (!) or a power of two.
See Also