mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
checkasm: ac3dsp: Increase the float tolerance for sum_square_butterfly_float
Accept up to 15 ULP difference.
This fixes running "checkasm --test=ac3dsp <seed>" for the seeds
2043066705, 24168 and 111972 on ARM, and the seeds 40552 and
209754 on aarch64.
This is the same change as 8e4c904c8e,
increasing the tolerance further.
With this change, checkasm passes for over 500 000 seeds on both
ARM and aarch64.
This commit is contained in:
@@ -181,7 +181,7 @@ static void check_ac3_sum_square_butterfly_float(AC3DSPContext *c) {
|
||||
call_ref(v1, lt, rt, ELEMS);
|
||||
call_new(v2, lt, rt, ELEMS);
|
||||
|
||||
if (!float_near_ulp_array(v1, v2, 13, 4))
|
||||
if (!float_near_ulp_array(v1, v2, 15, 4))
|
||||
fail();
|
||||
|
||||
bench_new(v2, lt, rt, ELEMS);
|
||||
|
||||
Reference in New Issue
Block a user