Log2Floor(int)
Returns the binary logarithm of the value, but the result is rounded down to the nearest integer.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public static int Log2Floor(int value)
Parameters
The value.
Returns
Type | Description |
|---|---|
| int | The binary logarithm of the |