core: replace #define'd HP_MAX_64 with static constexpr.
Calling std::pow
every time HP_MAX_64
is used is very expensive. Fortunately, newer C++ standards allow defining compile-time const floats with constexpr
.
Calling std::pow
every time HP_MAX_64
is used is very expensive. Fortunately, newer C++ standards allow defining compile-time const floats with constexpr
.