aboutsummaryrefslogtreecommitdiff
path: root/throw13~.c
diff options
context:
space:
mode:
authorTim Blechmann <timblech@users.sourceforge.net>2004-08-12 17:12:23 +0000
committerTim Blechmann <timblech@users.sourceforge.net>2004-08-12 17:12:23 +0000
commit3cc77d0f383c8732228d6378f93c46e6e1233411 (patch)
treef98d91d9f1b0c07c08bb7cb41e8a5e02b39fc9f2 /throw13~.c
parentb9bd28638ceadcae8dd3e2acee590378f6eb2d3b (diff)
denormal handling
svn path=/trunk/externals/ext13/; revision=1942
Diffstat (limited to 'throw13~.c')
-rw-r--r--throw13~.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/throw13~.c b/throw13~.c
index 347953e..c992d81 100644
--- a/throw13~.c
+++ b/throw13~.c
@@ -30,7 +30,16 @@
if (out)
{
while (n--)
+ {
+ /* TB: denormal handling in pd >0.37-2 */
+#ifdef PD_BIGORSMALL
+ *out += (PD_BIGORSMALL(*in) ? 0 : *in);
+ out++;
+ in++;
+#else
*out++ += *in++;
+#endif
+ }
}
return (w+4);
}