Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
fe2a7b49
Commit
fe2a7b49
authored
Oct 26, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
variables: check that FLT_RADIX is two
parent
2d788ac2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/misc/variables.c
src/misc/variables.c
+3
-0
No files found.
src/misc/variables.c
View file @
fe2a7b49
...
@@ -1321,6 +1321,9 @@ int (var_InheritURational)(vlc_object_t *object,
...
@@ -1321,6 +1321,9 @@ int (var_InheritURational)(vlc_object_t *object,
d
=
1
;
d
=
1
;
}
else
if
(
exp
<=
0
)
{
}
else
if
(
exp
<=
0
)
{
n
=
floor
(
scalbn
(
f
,
ubits
-
1
+
exp
));
n
=
floor
(
scalbn
(
f
,
ubits
-
1
+
exp
));
#if (FLT_RADIX != 2)
# error Floating point configuration not supported.
#endif
d
=
1u
<<
(
ubits
-
1
);
d
=
1u
<<
(
ubits
-
1
);
}
else
if
(
exp
<=
ubits
)
{
}
else
if
(
exp
<=
ubits
)
{
n
=
floor
(
scalbn
(
f
,
ubits
));
n
=
floor
(
scalbn
(
f
,
ubits
));
...
...
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