add parantheses to fix compiler warning
This commit is contained in:
parent
21645643b0
commit
2720f4de9c
@ -725,8 +725,8 @@ constexpr double SCALING_FACTOR = 4 / M_PI * 0xFFFF;
|
|||||||
|
|
||||||
inline double atan2_lookup(double y, double x)
|
inline double atan2_lookup(double y, double x)
|
||||||
{
|
{
|
||||||
if ((x > 0.) && (x < std::numeric_limits<double>::epsilon()) ||
|
if (((x > 0.) && (x < std::numeric_limits<double>::epsilon())) ||
|
||||||
(x < 0.) && (x > -std::numeric_limits<double>::epsilon()))
|
((x < 0.) && (x > -std::numeric_limits<double>::epsilon())))
|
||||||
{
|
{
|
||||||
if (y >= 0.)
|
if (y >= 0.)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user