Language:
Discover
By Skill Level
By Category

FGenericPlatformMath::CeilLogTwo

Choose your OS:

Syntax

static uint32 CeilLogTwo
(
    uint32 Arg
)

Remarks

Returns smallest N such that (1<=Arg. Note: CeilLogTwo(0)=0 because (1<<0)=1 >= 0.

References

Module

Core

Header

Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h