Click or drag to resize

BitMathRoundDownToNearestPowerOfTwo Method

Overload List
  Name Description
Public method Static member RoundDownToNearestPowerOfTwo(UInt32) Rounds a number down to the nearest power of 2. If the value is a power of two, the same value is returned. If value is zero, 1 is returned.
Public method Static member RoundDownToNearestPowerOfTwo(UInt64) Rounds a number down to the nearest power of 2. If the value is a power of two, the same value is returned. If value is zero, one is returned.
Top
See Also