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 |
Defined in
Last Updated: 23 April, 2020