mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Interpreter_FloatingPoint: Use std::isnan instead of IsNAN
Same thing, except one is part of the stdlib.
This commit is contained in:
@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user