52 return 32U -
static_cast<uint32>(FPlatformMath::CountLeadingZeros(
uint32(
Value)));
65 return 64U -
static_cast<uint32>(FPlatformMath::CountLeadingZeros64(
Value));
81 const uint32 Range =
uint32(UnsignedType(UnsignedType(UpperBound) - UnsignedType(LowerBound)));
82 return 32U -
static_cast<uint32>(FPlatformMath::CountLeadingZeros(Range));
89 return 32U -
static_cast<uint32>(FPlatformMath::CountLeadingZeros(Range));
92template<
typename T,
typename TEnableIf<sizeof(T) == 8U, u
int64>::Type X = 1ULL>
96 return 64U -
static_cast<uint32>(FPlatformMath::CountLeadingZeros64(Range));
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
@ Range
Definition EnvQueryTypes.h:81
uint32 GetBitsNeeded(const int32 Value)
Definition QuantizedVectorSerialization.cpp:13
Definition NetworkVersion.cpp:28