Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FMath
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static float Log2
(
float Value |
Computes the base 2 logarithm of the specified value | Math/UnrealMathUtility.h | |
static double Log2
(
double Value |
Computes the base 2 logarithm of the specified value | Math/UnrealMathUtility.h |
Log2(float)
Description
Computes the base 2 logarithm of the specified value
| Name | Log2 |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
static float Log2
(
float Value
)
the base 2 log of the value
Parameters
| Name | Remarks |
|---|---|
| Value | the value to perform the log on |
Log2(double)
Description
Computes the base 2 logarithm of the specified value
| Name | Log2 |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
static double Log2
(
double Value
)
the base 2 log of the value
Parameters
| Name | Remarks |
|---|---|
| Value | the value to perform the log on |