Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:pgajdos:l
ladspa-tap-plugins
tap-type-punning-fix.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tap-type-punning-fix.dif of Package ladspa-tap-plugins
Index: tap-plugins-0.7.1/tap_utils.h =================================================================== --- tap_utils.h +++ tap_utils.h 2004-03-05 15:45:53.000000000 +0100 @@ -95,6 +95,14 @@ for any bugs or malfunction. */ #define LN_2_2 0.34657359f +static inline float FLUSH_TO_ZERO(float fv) { + union { + float f; + int i; + } v; + v.f = fv; + return (v.i & 0x7f800000) == 0 ?0.0f : fv; +} #define LIMIT(v,l,u) ((v)<(l)?(l):((v)>(u)?(u):(v))) #define BIQUAD_TYPE float
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor