# Projucer should have a denormal support flag

**URL:** <https://forum.juce.com/t/projucer-should-have-a-denormal-support-flag/24124>\
**Category:** Audio Plugins\
**Created:** [September 10, 2017, 10:25am UTC](https://forum.juce.com/t/projucer-should-have-a-denormal-support-flag/24124 "2017-09-10T10:25:17Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [September 12, 2017, 10:56am UTC](https://forum.juce.com/t/projucer-should-have-a-denormal-support-flag/24124/7 "2017-09-12T10:56:10Z")

</div>

OK I’ve added the `ScopedNoDenormals` class to JUCE on develop with commit [e2c8e30](https://github.com/WeAreROLI/JUCE/commit/e2c8e30d7280d1a4cb3748ec488f1ed0691d048e). I’ve also modified the audio plugin template in the projucer to use this class in the `processBlock` method.

Additionally, this commit adds a flag called `JUCE_DSP_ENABLE_SNAP_TO_ZERO` to the dsp module which is enabled by default, but can be disabled if you wish to remove all denormalisation code used in the dsp module’s filters and algorithms.

---

_[View the full topic](https://forum.juce.com/t/projucer-should-have-a-denormal-support-flag/24124)._
