Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
d23fec0d
Commit
d23fec0d
authored
Aug 07, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fpclassify() is C99, not necessarily available in C++
parent
5c62c801
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
10 deletions
+5
-10
modules/audio_filter/spatializer/Modules.am
modules/audio_filter/spatializer/Modules.am
+1
-1
modules/audio_filter/spatializer/denormals.h
modules/audio_filter/spatializer/denormals.h
+4
-9
No files found.
modules/audio_filter/spatializer/Modules.am
View file @
d23fec0d
SOURCES_spatializer = spatializer.cpp \
allpass.cpp allpass.hpp comb.cpp comb.hpp \
denormals.h tuning.h revmodel.cpp revmodel.hpp
denormals.h
denormals.c
tuning.h revmodel.cpp revmodel.hpp
modules/audio_filter/spatializer/denormals.h
View file @
d23fec0d
...
...
@@ -8,16 +8,11 @@
#ifndef _denormals_
#define _denormals_
#include <stdint.h>
#include <math.h>
static
inline
float
undenormalise
(
float
f
)
{
if
(
fpclassify
(
f
)
==
FP_SUBNORMAL
)
return
0
.
0
;
return
f
;
}
#ifdef __cplusplus
extern
"C"
#endif
float
undenormalise
(
float
);
#endif//_denormals_
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