mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 06:51:17 +01:00
Remove self-comparison
This commit is contained in:
parent
5af0ae25e6
commit
15500198d8
@ -80,7 +80,7 @@ protected:
|
||||
// Read unswapped.
|
||||
const float actual = m_dst.Read<float, false>();
|
||||
|
||||
if (!actual || actual != actual)
|
||||
if (!actual || std::isnan(actual))
|
||||
EXPECT_EQ(std::bit_cast<u32>(expected), std::bit_cast<u32>(actual));
|
||||
else
|
||||
EXPECT_EQ(expected, actual);
|
||||
|
Loading…
x
Reference in New Issue
Block a user