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/ramp~.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/ramp~.c') diff --git a/modules/ramp~.c b/modules/ramp~.c index e4d5ed4..fa87809 100644 --- a/modules/ramp~.c +++ b/modules/ramp~.c @@ -57,7 +57,7 @@ static t_int *ramp_perform(t_int *w) t_int n = (t_int)(w[2]); t_float x; - t_float scale = ctl->c_blockscale ? 1.0f / (t_float)n : 1.0f; + t_float scale = ctl->c_blockscale ? 1.0 / (t_float)n : 1.0; x = ctl->c_offset; -- cgit v1.2.1