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