Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-01-11 02:33:06 +0300
committerJames Almer <jamrial@gmail.com>2019-01-13 21:00:20 +0300
commitf477ee3e8956cd5a83282033e93c7673f40bd598 (patch)
tree94e9c9024e7dfee35cc77163717770636c93d642 /tests/checkasm
parent9217dedcd99109f5a22fe43bdde26d68542c3963 (diff)
checkasm/af_afir: relax the max allowed absolute difference
Should fix failures on x86_32. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/checkasm')
-rw-r--r--tests/checkasm/af_afir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/af_afir.c b/tests/checkasm/af_afir.c
index 54e2f68d6c..e3fb76e8e0 100644
--- a/tests/checkasm/af_afir.c
+++ b/tests/checkasm/af_afir.c
@@ -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_new(odst, src1, src2, LEN);
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",
i, cdst[i], odst[i], cdst[i] - odst[i]);
fail();