Interpreter_FloatingPoint: Use std::isnan instead of IsNAN

Same thing, except one is part of the stdlib.
This commit is contained in:
Lioncash 2015-08-21 15:03:59 -04:00
parent c325c310d6
commit 18d658df1f
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ void Interpreter::Helper_FloatCompareOrdered(UGeckoInstruction _inst, double fa,
{ {
int compareResult; int compareResult;
if (IsNAN(fa) || IsNAN(fb)) if (std::isnan(fa) || std::isnan(fb))
{ {
FPSCR.FX = 1; FPSCR.FX = 1;
compareResult = FPCC::FU; compareResult = FPCC::FU;
@ -62,7 +62,7 @@ void Interpreter::Helper_FloatCompareUnordered(UGeckoInstruction _inst, double f
{ {
int compareResult; int compareResult;
if (IsNAN(fa) || IsNAN(fb)) if (std::isnan(fa) || std::isnan(fb))
{ {
compareResult = FPCC::FU; compareResult = FPCC::FU;