Lines Matching +full:0 +full:b
75 size_t length, const float64_t *a, const float64_t *b) in test_equal_f64() argument
79 for (index = 0; index < length; index++) { in test_equal_f64()
80 if (a[index] != b[index]) { in test_equal_f64()
89 size_t length, const float32_t *a, const float32_t *b) in test_equal_f32() argument
93 for (index = 0; index < length; index++) { in test_equal_f32()
94 if (a[index] != b[index]) { in test_equal_f32()
104 size_t length, const float16_t *a, const float16_t *b) in test_equal_f16() argument
108 for (index = 0; index < length; index++) { in test_equal_f16()
109 if (a[index] != b[index]) { in test_equal_f16()
119 size_t length, const q63_t *a, const q63_t *b) in test_equal_q63() argument
123 for (index = 0; index < length; index++) { in test_equal_q63()
124 if (a[index] != b[index]) { in test_equal_q63()
133 size_t length, const q31_t *a, const q31_t *b) in test_equal_q31() argument
137 for (index = 0; index < length; index++) { in test_equal_q31()
138 if (a[index] != b[index]) { in test_equal_q31()
147 size_t length, const q15_t *a, const q15_t *b) in test_equal_q15() argument
151 for (index = 0; index < length; index++) { in test_equal_q15()
152 if (a[index] != b[index]) { in test_equal_q15()
161 size_t length, const q7_t *a, const q7_t *b) in test_equal_q7() argument
165 for (index = 0; index < length; index++) { in test_equal_q7()
166 if (a[index] != b[index]) { in test_equal_q7()
175 size_t length, const float64_t *a, const float64_t *b, in test_near_equal_f64() argument
180 for (index = 0; index < length; index++) { in test_near_equal_f64()
181 if (fabs(a[index] - b[index]) > threshold) { in test_near_equal_f64()
190 size_t length, const float32_t *a, const float32_t *b, in test_near_equal_f32() argument
195 for (index = 0; index < length; index++) { in test_near_equal_f32()
196 if (fabsf(a[index] - b[index]) > threshold) { in test_near_equal_f32()
206 size_t length, const float16_t *a, const float16_t *b, in test_near_equal_f16() argument
211 for (index = 0; index < length; index++) { in test_near_equal_f16()
212 if (fabsf((float)a[index] - (float)b[index]) > (float)threshold) { in test_near_equal_f16()
222 size_t length, const q63_t *a, const q63_t *b, q63_t threshold) in test_near_equal_q63() argument
226 for (index = 0; index < length; index++) { in test_near_equal_q63()
227 if (llabs(a[index] - b[index]) > threshold) { in test_near_equal_q63()
236 size_t length, const q31_t *a, const q31_t *b, q31_t threshold) in test_near_equal_q31() argument
240 for (index = 0; index < length; index++) { in test_near_equal_q31()
241 if (abs(a[index] - b[index]) > threshold) { in test_near_equal_q31()
250 size_t length, const q15_t *a, const q15_t *b, q15_t threshold) in test_near_equal_q15() argument
254 for (index = 0; index < length; index++) { in test_near_equal_q15()
255 if (abs(a[index] - b[index]) > threshold) { in test_near_equal_q15()
264 size_t length, const q7_t *a, const q7_t *b, q7_t threshold) in test_near_equal_q7() argument
268 for (index = 0; index < length; index++) { in test_near_equal_q7()
269 if (abs(a[index] - b[index]) > threshold) { in test_near_equal_q7()
278 size_t length, const float64_t *a, const float64_t *b, in test_rel_error_f64() argument
284 for (index = 0; index < length; index++) { in test_rel_error_f64()
285 delta = fabs(a[index] - b[index]); in test_rel_error_f64()
286 average = (fabs(a[index]) + fabs(b[index])) / 2.0; in test_rel_error_f64()
288 if (average != 0) { in test_rel_error_f64()
301 size_t length, const float32_t *a, const float32_t *b, in test_rel_error_f32() argument
307 for (index = 0; index < length; index++) { in test_rel_error_f32()
308 delta = fabsf(a[index] - b[index]); in test_rel_error_f32()
309 average = (fabsf(a[index]) + fabsf(b[index])) / 2.0f; in test_rel_error_f32()
311 if (average != 0) { in test_rel_error_f32()
325 size_t length, const float16_t *a, const float16_t *b, in test_rel_error_f16() argument
331 for (index = 0; index < length; index++) { in test_rel_error_f16()
332 delta = fabsf((float)a[index] - (float)b[index]); in test_rel_error_f16()
333 average = (fabsf((float)a[index]) + fabsf((float)b[index])) / 2.0f; in test_rel_error_f16()
335 if (average != 0) { in test_rel_error_f16()
354 for (index = 0; index < length; index++) { in test_close_error_f64()
370 for (index = 0; index < length; index++) { in test_close_error_f32()
387 for (index = 0; index < length; index++) { in test_close_error_f16()
399 size_t length, const float64_t *a, const float64_t *b, in test_snr_error_f64() argument
404 snr = arm_snr_f64(a, b, length); in test_snr_error_f64()
409 size_t length, const float32_t *a, const float32_t *b, in test_snr_error_f32() argument
414 snr = arm_snr_f32(a, b, length); in test_snr_error_f32()
420 size_t length, const float16_t *a, const float16_t *b, in test_snr_error_f16() argument
425 snr = arm_snr_f16(a, b, length); in test_snr_error_f16()
431 size_t length, const q63_t *a, const q63_t *b, float32_t threshold) in test_snr_error_q63() argument
435 snr = arm_snr_q63(a, b, length); in test_snr_error_q63()
440 size_t length, const q31_t *a, const q31_t *b, float32_t threshold) in test_snr_error_q31() argument
444 snr = arm_snr_q31(a, b, length); in test_snr_error_q31()
449 size_t length, const q15_t *a, const q15_t *b, float32_t threshold) in test_snr_error_q15() argument
453 snr = arm_snr_q15(a, b, length); in test_snr_error_q15()
458 size_t length, const q7_t *a, const q7_t *b, float32_t threshold) in test_snr_error_q7() argument
462 snr = arm_snr_q7(a, b, length); in test_snr_error_q7()