tests/checkasm/aacencdsp: Use float_near_ulp_array() for abs_pow34() test

Fixes: ticket/10818
Approved-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2024-01-23 21:06:49 +01:00
parent 88a9142cac
commit d6c62b4bce
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ static void test_abs_pow34(AACEncContext *s) {
call_ref(out, in, BUF_SIZE);
call_new(out2, in, BUF_SIZE);
if (memcmp(out, out2, BUF_SIZE * sizeof(float)) != 0)
if (!float_near_ulp_array(out, out2, 1, BUF_SIZE))
fail();
bench_new(out, in, BUF_SIZE);