I am currently working with large numbers such as __int64 and long doubles and im fairly new to unreal myself. I have been spending hours trying to figure out how i can print long doubles as i need to check that all my calculations are correct but this is becoming an issue as from what i can tell UE_LOG does not support Long Doubles only floats.
In standard c++ this won’t be an issue as i can just use printf like
printf("%lg\n", pow(5.67 * 10,-8));
and that works fine but when i use %lg in UE_LOG like this
UE_LOG(YourInit, Warning, TEXT("test = %lg"), pow(5.67 * 10,-8));
It won’t compile.
Is there a way i can log long doubles within unreal or atleast see the output from printf?