mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue