diff options
Diffstat (limited to 'modules/ratio.c')
-rw-r--r-- | modules/ratio.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |