Pow2

This function rounds a value off to the nearest power of two number. For example, Pow2(254) will return 256.

Syntax

Parameters

Returns

Returns the nearest power of two number to the input value.