Searched refs:fabsf (Results 1 – 1 of 1) sorted by relevance
196 if (fabsf(a[index] - b[index]) > threshold) { in test_near_equal_f32()212 if (fabsf((float)a[index] - (float)b[index]) > (float)threshold) { in test_near_equal_f16()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()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()371 if (fabsf(val[index] - ref[index]) > in test_close_error_f32()372 (abs_threshold + rel_threshold * fabsf(ref[index]))) { in test_close_error_f32()388 if (fabsf((float)val[index] - (float)ref[index]) > in test_close_error_f16()389 (abs_threshold + rel_threshold * fabsf((float)ref[index]))) { in test_close_error_f16()