Searched refs:max_ulp (Results 1 – 2 of 2) sorted by relevance
/third_party/ffmpeg/tests/checkasm/ |
D | checkasm.h | 103 int float_near_ulp(float a, float b, unsigned max_ulp); 105 int float_near_abs_eps_ulp(float a, float b, float eps, unsigned max_ulp); 106 int float_near_ulp_array(const float *a, const float *b, unsigned max_ulp, 111 unsigned max_ulp, unsigned len);
|
D | checkasm.c | 297 int float_near_ulp(float a, float b, unsigned max_ulp) in float_near_ulp() argument 309 if (llabs((int64_t)x.i - y.i) <= max_ulp) in float_near_ulp() 315 int float_near_ulp_array(const float *a, const float *b, unsigned max_ulp, in float_near_ulp_array() argument 321 if (!float_near_ulp(a[i], b[i], max_ulp)) in float_near_ulp_array() 350 int float_near_abs_eps_ulp(float a, float b, float eps, unsigned max_ulp) in float_near_abs_eps_ulp() argument 352 return float_near_ulp(a, b, max_ulp) || float_near_abs_eps(a, b, eps); in float_near_abs_eps_ulp() 356 unsigned max_ulp, unsigned len) in float_near_abs_eps_array_ulp() argument 361 if (!float_near_abs_eps_ulp(a[i], b[i], eps, max_ulp)) in float_near_abs_eps_array_ulp()
|