From 18d658df1fd9602a3620fc8581462c6b54ae635d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 21 Aug 2015 15:03:59 -0400 Subject: [PATCH] Interpreter_FloatingPoint: Use std::isnan instead of IsNAN Same thing, except one is part of the stdlib. --- .../Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp b/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp index 758718b3a1..d797766126 100644 --- a/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp +++ b/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp @@ -22,7 +22,7 @@ void Interpreter::Helper_FloatCompareOrdered(UGeckoInstruction _inst, double fa, { int compareResult; - if (IsNAN(fa) || IsNAN(fb)) + if (std::isnan(fa) || std::isnan(fb)) { FPSCR.FX = 1; compareResult = FPCC::FU; @@ -62,7 +62,7 @@ void Interpreter::Helper_FloatCompareUnordered(UGeckoInstruction _inst, double f { int compareResult; - if (IsNAN(fa) || IsNAN(fb)) + if (std::isnan(fa) || std::isnan(fb)) { compareResult = FPCC::FU;