You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
checkasm: add missing checks to float_dsp's butterflies_float test
This commit is contained in:
@@ -219,9 +219,12 @@ static void test_butterflies_float(const float *src0, const float *src1)
|
|||||||
call_ref(cdst, cdst1, LEN);
|
call_ref(cdst, cdst1, LEN);
|
||||||
call_new(odst, odst1, LEN);
|
call_new(odst, odst1, LEN);
|
||||||
for (i = 0; i < LEN; i++) {
|
for (i = 0; i < LEN; i++) {
|
||||||
if (!float_near_abs_eps(cdst[i], odst[i], FLT_EPSILON)) {
|
if (!float_near_abs_eps(cdst[i], odst[i], FLT_EPSILON) ||
|
||||||
|
!float_near_abs_eps(cdst1[i], odst1[i], FLT_EPSILON)) {
|
||||||
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]);
|
||||||
|
fprintf(stderr, "%d: %- .12f - %- .12f = % .12g\n",
|
||||||
|
i, cdst1[i], odst1[i], cdst1[i] - odst1[i]);
|
||||||
fail();
|
fail();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user