BinaryMathIsNonzeroPowerOfTwo(UInt32) Method |
Return true if x > 0 and x is a power of two.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool IsNonzeroPowerOfTwo(
uint x
)
Parameters
- x UInt32
- The argument to test.
Return Value
BooleanTrue if x > 0 and x is a power of two.
See Also