Heya… This line:
UE_LOG(LogTemp, Log, TEXT("This can't be right: %f"), FMath::Pow(-2.f, 1.68f));
Prints out:
LogTemp: This can’t be right: 1.#QNAN0
Is this intended behavior because it certainly doesn’t seem like intended behavior.
Heya… This line:
UE_LOG(LogTemp, Log, TEXT("This can't be right: %f"), FMath::Pow(-2.f, 1.68f));
Prints out:
LogTemp: This can’t be right: 1.#QNAN0
Is this intended behavior because it certainly doesn’t seem like intended behavior.
Yes it is intended, it’s floating-point error