Skip to content
Permalink
Browse files
Merge pull request #6515 from lioncash/cast
Interpreter_FPUtils: Get rid of a pointer cast
  • Loading branch information
leoetlino committed Mar 25, 2018
2 parents e9976c2 + 27611d5 commit 5c83e18
Showing 1 changed file with 1 addition and 2 deletions.
@@ -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

0 comments on commit 5c83e18

Please sign in to comment.