From 4f1ee28d687d583601d41ff58e1618b381d2675f Mon Sep 17 00:00:00 2001 From: Katja Date: Sun, 6 Nov 2011 14:41:44 +0000 Subject: made creb compliant with double precision - changed float to t_float - adapted subnormal detection svn path=/trunk/externals/creb/; revision=15706 --- modules/ratio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/ratio.c') diff --git a/modules/ratio.c b/modules/ratio.c index 777f2b9..c192b30 100644 --- a/modules/ratio.c +++ b/modules/ratio.c @@ -37,8 +37,8 @@ static void ratio_float(t_ratio *x, t_floatarg f) f = (f<0)?(-f):(f); if (f) { - while (f < 1.0f) f *= 2.0f; - while (f >= 2.0f) f *= 0.5f; + while (f < 1.0) f *= 2.0; + while (f >= 2.0) f *= 0.5; } outlet_float(x->x_out, f); -- cgit v1.2.1