dolphin/Source/UnitTests
Léo Lam 8d21fa56a1
UnitTests: Use MathUtil::SaturatingCast to avoid UB
[conv.fpint]/1:

> A prvalue of a floating-point type can be converted to a prvalue of
> an integer type. The conversion truncates; that is, the fractional
> part is discarded. The behavior is undefined if the truncated value
> cannot be represented in the destination type.
2021-04-06 23:27:23 +02:00
..
Common MathUtil: Add SaturatingCast to cast floats more safely 2021-04-06 23:27:23 +02:00
Core Arm64Gen: Convert ARM64Reg to enum class 2021-03-13 10:10:59 -08:00
VideoCommon UnitTests: Use MathUtil::SaturatingCast to avoid UB 2021-04-06 23:27:23 +02:00
CMakeLists.txt CMakeLists: Link bochs in privately where applicable 2018-04-08 04:59:58 -04:00
DivUtilsTest.cpp JitCommon: Signed 32-bit division magic constants 2021-03-07 18:27:36 +01:00
FileUtil.cpp Add File::Delete and File::DeleteDir tests 2020-12-10 09:48:30 -08:00
StubHost.cpp Set console's default language/country/region based on computer settings 2021-03-27 10:05:26 +01:00
UnitTests.vcxproj Merge pull request #9566 from Sintendo/jit64divwx 2021-03-22 14:40:02 -04:00
UnitTests.vcxproj.user msbuild: increment other version numbers to vs2017 equivalents 2017-06-03 18:20:39 -07:00