From bb4600c4eb9d35b75a5f84751bcba03e22be616f Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes <jon.w.wilkes@gmail.com> Date: Wed, 1 Jun 2016 22:34:13 -0400 Subject: [PATCH] port d86d714a0f75d9d4b4a74725a8ed93edc4a137ff from Pd-l2ork: hopefully fixed the denormals in freeverb~ once and for all --- externals/freeverb~/freeverb~.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/externals/freeverb~/freeverb~.c b/externals/freeverb~/freeverb~.c index 03d656d90..9f7ae6cb0 100644 --- a/externals/freeverb~/freeverb~.c +++ b/externals/freeverb~/freeverb~.c @@ -159,7 +159,8 @@ static inline float fix_denorm_nan_float(float v) u.f = v; if ((((u.ul & 0x7f800000) == 0L) && (u.f != 0.f)) || ((u.ul & 0x7f800000) == 0x7f800000)) /* if the float is denormal or NaN, return 0.0 */ - return 0.0f; + v = 0.0f; + //return 0.0f; #endif //IRIX return v; } -- GitLab