JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::dsp::util Namespace Reference

Functions

void snapToZero (float &x) noexcept
 Use this function to prevent denormals on intel CPUs.
 
template<typename Type >
void snapToZero (SIMDRegister< Type > &) noexcept
 

Function Documentation

◆ snapToZero() [1/2]

void juce::dsp::util::snapToZero ( float x)
inlinenoexcept

Use this function to prevent denormals on intel CPUs.

This function will work with both primitives and simple containers.

◆ snapToZero() [2/2]

template<typename Type >
void juce::dsp::util::snapToZero ( SIMDRegister< Type > &  )
inlineprivatenoexcept