Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/FMath
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include | #include "Math/UnrealMathUtility.h" |
template<typename T>
static bool IsPowerOfTwo
(
T Value
)
Remarks
Checks whether a number is a power of two. true if Value is a power of two
Parameters
| Name | Description |
|---|---|
| Value | Number to check |