Files
UnrealEngineUWP/Engine/Source/Runtime/Core/Private/Tests
Zak Middleton f6067e1851 #ue5 - TruncToInt(double) and similar *ToInt(double) functions now return int64 rather than int32. Fixed up existing uses of *ToInt(double) functions to use explicit *ToInt32(double) where old result type was expected to be int32.
Enabled overloads of Max() and Min() with mixed signed integral arguments (promoting to largest type). Unsigned are not allowed to implicitly mix.
Added explicit overload of Clamp(int64, int32, int32) => int64 to allow for easier upgrades, and once type truncation warnings are enabled in more modules they can be evaluated per-case.


#jira UE-124808
#preflight 6297a9b0e809e387be231e60
#rb Andy.Davidson

[CL 20456547 by Zak Middleton in ue5-main branch]
2022-06-01 14:56:52 -04:00
..