I made a C++ Actor class, made a blueprint version of that class, put an instance of the actor in an empty level, and put this into the BeginPlay function.
float eqResult{};
eqResult = pow(2, 24);
UE_LOG(LogTemp, Warning, TEXT(â2^24 = %fâ), eqResult);
which showed this result in the log
LogTemp: Warning: 2^24 = 16777216.000000