- C/C++
I tested the powf command in Unreal, but it should work for C & C++ in general (if you include the appropriate headers).
void AMyActor::BeginPlay()
{
Super::BeginPlay();
UE_LOG(LogTemp, Warning, TEXT("2^24 = %f"), powf(2.0f, 24.0f));
}
- Unreal (Blueprints)
- R
2^24