JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::dsp::util Namespace Reference

Functions

void snapToZero (float &x) noexcept
 Use this function to prevent denormals on intel CPUs. More...
 
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.

References JUCE_SNAP_TO_ZERO, and juce::gl::x.

◆ snapToZero() [2/2]

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