From 47a10173ea203de2036dd00791fe5c24fb673135 Mon Sep 17 00:00:00 2001 From: Robert Jonsson Date: Fri, 15 Apr 2011 18:52:45 +0000 Subject: removing unnecessary duplication --- attic/muse2-oom/muse2/plugins/freeverb/denormals.h | 28 ---------------------- 1 file changed, 28 deletions(-) delete mode 100644 attic/muse2-oom/muse2/plugins/freeverb/denormals.h (limited to 'attic/muse2-oom/muse2/plugins/freeverb/denormals.h') diff --git a/attic/muse2-oom/muse2/plugins/freeverb/denormals.h b/attic/muse2-oom/muse2/plugins/freeverb/denormals.h deleted file mode 100644 index d18412b4..00000000 --- a/attic/muse2-oom/muse2/plugins/freeverb/denormals.h +++ /dev/null @@ -1,28 +0,0 @@ -// Macro for killing denormalled numbers -// -// Written by Jezar at Dreampoint, June 2000 -// http://www.dreampoint.co.uk -// Based on IS_DENORMAL macro by Jon Watte -// This code is public domain - -#ifndef _denormals_ -#define _denormals_ - -// this does not work with at least gcc3.3 and -O2: -// #define undenormalise(sample) if(((*(unsigned int*)&sample)&0x7f800000)==0) sample=0.0f -// -// from Laurent de Soras Paper: Denormal numbers in floating point -// signal processing applications -// (ws) - -#define undenormalise(sample) \ - { \ - float anti_denormal = 1e-18; \ - sample += anti_denormal; \ - sample -= anti_denormal; \ - } - -#endif//_denormals_ - -//ends - -- cgit v1.2.3