BEAST
- Free Software Audio Synthesizer and Tracker
0.10.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
plugins
freeverb
denormals.hh
Go to the documentation of this file.
1
// Macro for killing denormalled numbers
2
//
3
// Written by Jezar at Dreampoint, June 2000
4
// http://www.dreampoint.co.uk
5
// Based on IS_DENORMAL macro by Jon Watte
6
// This code is public domain
7
#include <
bse/bseplugin.hh
>
8
#include <
bse/bseieee754.hh
>
9
10
#ifndef _denormals_
11
#define _denormals_
12
13
// #define undenormalise(sample) if(((*(unsigned int*)&sample)&0x7f800000)==0) sample=0.0f
14
#define undenormalise(sample) BSE_FLOAT_FLUSH (sample)
15
16
#endif//_denormals_
17
18
//ends
bseplugin.hh
bseieee754.hh
Generated by
1.8.9.1