Audio Processing Framework (APF) version 0.5.0
Classes | Namespaces | Functions
denormalprevention.h File Reference

Different methods to prevent denormal numbers. More...

#include <limits>
#include <cmath>
#include <xmmintrin.h>
#include <pmmintrin.h>

Go to the source code of this file.

Classes

struct  apf::dp::none< T >
 Disable denormal prevention. More...
 
struct  apf::dp::dc< float >
 Add DC signal (float specialization). More...
 
struct  apf::dp::dc< double >
 Add DC signal (double specialization). More...
 
struct  apf::dp::ac< float >
 Add sine component at nyquist frequency (float specialization). More...
 
struct  apf::dp::ac< double >
 Add sine component at nyquist frequency (double specialization). More...
 
struct  apf::dp::quantization< float >
 Quantize denormal numbers (float specialization). More...
 
struct  apf::dp::quantization< double >
 Quantize denormal numbers (double specialization). More...
 
struct  apf::dp::set_zero_1< T >
 Detect denormals and set 0. More...
 
struct  apf::dp::set_zero_2< T >
 Detect denormals and set 0. More...
 
struct  apf::dp::set_zero_3< T >
 Detect denormals and set 0. More...
 

Namespaces

namespace  apf
 Audio Processing Framework.
 
namespace  apf::dp
 Denormal prevention.
 

Functions

void apf::dp::ftz_on ()
 Set Flush-To-Zero (FTZ). More...
 
void apf::dp::ftz_off ()
 Unset Flush-To-Zero (FTZ). More...
 
void apf::dp::daz_on ()
 Set Denormals-Are-Zero (DAZ). More...
 
void apf::dp::daz_off ()
 Unset Denormals-Are-Zero (DAZ). More...
 

Detailed Description

Different methods to prevent denormal numbers.

Definition in file denormalprevention.h.