Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
a579dbb4
Commit
a579dbb4
authored
Jun 24, 2017
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
checkasm: add missing checks to float_dsp's butterflies_float test
parent
e1120b1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
float_dsp.c
tests/checkasm/float_dsp.c
+4
-1
No files found.
tests/checkasm/float_dsp.c
View file @
a579dbb4
...
...
@@ -219,9 +219,12 @@ static void test_butterflies_float(const float *src0, const float *src1)
call_ref
(
cdst
,
cdst1
,
LEN
);
call_new
(
odst
,
odst1
,
LEN
);
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
"
,
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
();
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment