nextHighestPowerOfTwo Function

Returns the first power-of-two value greater than or equal to the input.

nextHighestPowerOfTwo(num: number): number

@note Floating point inputs are truncated.

Parameter Type Description
num number  

Returns - number

Defined in

Last Updated: 25 April, 2024