You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling with clang on OS X this warning is produced. this should be std::abs (or fabs)
src/eval.cpp:34:50: warning: using integer absolute value function 'abs' when argument is of floating point type
[-Wabsolute-value]
inline double mod(double x, double y) { return abs(fmod(x, y)); } // x/0 checked by caller
^
src/eval.cpp:34:50: note: use function 'std::abs' instead
inline double mod(double x, double y) { return abs(fmod(x, y)); } // x/0 checked by caller
^~~
std::abs
The text was updated successfully, but these errors were encountered:
When compiling with clang on OS X this warning is produced. this should be std::abs (or fabs)
The text was updated successfully, but these errors were encountered: