BinaryMathIsPowerOfTwoOrZero(UInt32) Method |
Returns true if number is a power of two or is zero.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool IsPowerOfTwoOrZero(
uint x
)
Parameters
- x UInt32
- Argument to test.
Return Value
BooleanReturns
true if the number is a power of two or is equal to zero.
See Also