Interpreter_FloatingPoint: Use std::isnan instead of IsNAN
Same thing, except one is part of the stdlib.
This commit is contained in:
parent
c325c310d6
commit
18d658df1f
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue