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