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
955cdc43
Commit
955cdc43
authored
Nov 08, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avutil/softfloat: Include negative numbers in cmp/gt tests
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
05b05a7a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
softfloat.c
libavutil/softfloat.c
+3
-3
No files found.
libavutil/softfloat.c
View file @
955cdc43
...
...
@@ -109,9 +109,9 @@ int main(void){
sf1
=
av_div_sf
(
sf1
,
sf2
);
printf
(
"test6 softfloat: %.10lf (0x%08x %d) %d %d
\n
"
,
(
double
)
av_sf2double
(
sf1
),
sf1
.
mant
,
sf1
.
exp
,
i
,
j
);
for
(
i
=
0
;
i
<
10
0
;
i
++
)
{
for
(
i
=
-
50
;
i
<
5
0
;
i
++
)
{
sf1
=
av_int2sf
(
i
,
0
);
for
(
j
=
0
;
j
<
10
0
;
j
++
)
{
for
(
j
=
-
50
;
j
<
5
0
;
j
++
)
{
int
c
;
sf2
=
av_int2sf
(
j
,
0
);
c
=
av_cmp_sf
(
sf1
,
sf2
);
...
...
@@ -124,7 +124,7 @@ int main(void){
}
}
sf1
=
av_int2sf
(
1
,
i
);
for
(
j
=
0
;
j
<
10
0
;
j
++
)
{
for
(
j
=
-
50
;
j
<
5
0
;
j
++
)
{
int
c
;
sf2
=
av_int2sf
(
1
,
j
);
c
=
av_cmp_sf
(
sf2
,
sf1
);
...
...
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