Use 'powf' to match variables and avoid implicit type converstion. Makes some older...
authorMichael Dickens <michael.dickens@ettus.com>
Sat, 1 Apr 2017 19:24:46 +0000 (15:24 -0400)
committerA. Maitland Bottoms <bottoms@debian.org>
Sun, 4 Feb 2018 18:12:21 +0000 (18:12 +0000)
Gbp-Pq: Name 0011-Use-powf-to-match-variables-and-avoid-implicit-type-.patch

kernels/volk/volk_32f_x2_pow_32f.h

index 58fecb6959122b073989ee6c50a3be387eabc0f0..a8cb2e1414bbcdbe6cfa181c3c7e8fdc8d57bf4f 100644 (file)
@@ -190,7 +190,7 @@ volk_32f_x2_pow_32f_a_sse4_1(float* cVector, const float* bVector,
 
   number = quarterPoints * 4;
   for(;number < num_points; number++){
-    *cPtr++ = pow(*aPtr++, *bPtr++);
+    *cPtr++ = powf(*aPtr++, *bPtr++);
   }
 }
 
@@ -215,7 +215,7 @@ volk_32f_x2_pow_32f_generic(float* cVector, const float* bVector,
   unsigned int number = 0;
 
   for(number = 0; number < num_points; number++){
-    *cPtr++ = pow(*aPtr++, *bPtr++);
+    *cPtr++ = powf(*aPtr++, *bPtr++);
   }
 }
 #endif /* LV_HAVE_GENERIC */
@@ -326,7 +326,7 @@ volk_32f_x2_pow_32f_u_sse4_1(float* cVector, const float* bVector,
 
   number = quarterPoints * 4;
   for(;number < num_points; number++){
-    *cPtr++ = pow(*aPtr++, *bPtr++);
+    *cPtr++ = powf(*aPtr++, *bPtr++);
   }
 }