BitMathIsPowerOfTwo(UInt32) Method
Determines if the number is a power of 2.
Namespace: GemstoneAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.178 -- Release Build+f8a23028fef00502c7e35bcc3934c260e8a0eb56
public static bool IsPowerOfTwo(
uint value
)
Gemstone.BitMath.IsPowerOfTwo = function(value);
- value UInt32
- The value to check power of two properties.
Booleantrue if
value is a power of 2; otherwise,
false.