You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
checkasm/af_afir: relax the max allowed absolute difference
Should fix failures on x86_32. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -53,7 +53,7 @@ static void test_fcmul_add(const float *src0, const float *src1, const float *sr
|
|||||||
call_ref(cdst, src1, src2, LEN);
|
call_ref(cdst, src1, src2, LEN);
|
||||||
call_new(odst, src1, src2, LEN);
|
call_new(odst, src1, src2, LEN);
|
||||||
for (i = 0; i <= LEN*2; i++) {
|
for (i = 0; i <= LEN*2; i++) {
|
||||||
if (!float_near_abs_eps(cdst[i], odst[i], FLT_EPSILON)) {
|
if (!float_near_abs_eps(cdst[i], odst[i], 6.2e-05)) {
|
||||||
fprintf(stderr, "%d: %- .12f - %- .12f = % .12g\n",
|
fprintf(stderr, "%d: %- .12f - %- .12f = % .12g\n",
|
||||||
i, cdst[i], odst[i], cdst[i] - odst[i]);
|
i, cdst[i], odst[i], cdst[i] - odst[i]);
|
||||||
fail();
|
fail();
|
||||||
|
Reference in New Issue
Block a user