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 constexpr bool IsPowerOfTwo
&40;
T Value
&41;
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 |