Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformMath
Description
Computes the base 2 logarithm for a 64-bit value. The result is rounded down to the nearest integer.
| Name | FloorLog2_64 |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h |
| Include Path | #include "GenericPlatform/GenericPlatformMath.h" |
static uint64 FloorLog2_64
(
uint64 Value
)
Log2 of Value. 0 if Value is 0.
Parameters
| Name | Remarks |
|---|---|
| Value | The value to compute the log of |