Merge pull request #6515 from lioncash/cast

Interpreter_FPUtils: Get rid of a pointer cast
This commit is contained in:
Léo Lam 2018-03-25 11:27:38 +02:00 committed by GitHub
commit 5c83e18fbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,8 +13,7 @@
#include "Core/PowerPC/Gekko.h"
#include "Core/PowerPC/PowerPC.h"
const u64 PPC_NAN_U64 = 0x7ff8000000000000ull;
const double PPC_NAN = *(double* const) & PPC_NAN_U64;
constexpr double PPC_NAN = std::numeric_limits<double>::quiet_NaN();
// the 4 less-significand bits in FPSCR[FPRF]
enum FPCC