Method Log2Ceil
Log2Ceil(int)
Returns the binary logarithm of the value
, but the result is rounded up to the nearest integer.
Declaration
public static int Log2Ceil(int value)
Parameters
Type | Name | Description |
---|---|---|
int | value | The value. |
Returns
Type | Description |
---|---|
int | The binary logarithm of the |