jpeg pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=12b562482e5709ea1f82762b5be775b9bd8a24ed
commit 12b562482e5709ea1f82762b5be775b9bd8a24ed Author: Jean-Philippe Andre <jp.an...@samsung.com> Date: Tue Apr 21 18:38:50 2015 +0900 Eina: Fix clang warnings Use fabs for double values --- src/lib/eina/eina_matrix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/eina/eina_matrix.c b/src/lib/eina/eina_matrix.c index 61ee824..468acf5 100644 --- a/src/lib/eina/eina_matrix.c +++ b/src/lib/eina/eina_matrix.c @@ -65,13 +65,13 @@ static inline double const double B = 4/M_PI; const double C = -4/(M_PI*M_PI); - double y = (B * x) + (C * x * fabsf(x)); + double y = (B * x) + (C * x * fabs(x)); #ifdef EXTRA_PRECISION // const float Q = 0.775; const double P = 0.225; - y = P * (y * fabsf(y) - y) + y; // Q * y + P * y * abs(y) + y = P * (y * fabs(y) - y) + y; // Q * y + P * y * abs(y) #endif return y; } --