From ef9d844916bf70100b21e42bb3218dbeb938e333 Mon Sep 17 00:00:00 2001 From: musil Date: Fri, 7 Sep 2012 11:20:12 +0000 Subject: changed 0.0f to 0.0 svn path=/trunk/externals/iem/iem_tab/; revision=16200 --- src/makefile_d_ppc | 4 ++++ src/makefile_darwin | 4 ++++ src/makefile_win | 4 ++++ src/tab_carth2polar.c | 5 ++--- src/tab_complex_inv.c | 5 ++--- src/tab_const.c | 3 +-- src/tab_conv.c | 15 +++++++-------- 7 files changed, 24 insertions(+), 16 deletions(-) diff --git a/src/makefile_d_ppc b/src/makefile_d_ppc index 22ef78b..5579fb8 100644 --- a/src/makefile_d_ppc +++ b/src/makefile_d_ppc @@ -24,6 +24,8 @@ SRC = tab_abs.c \ tab_copy.c \ tab_counter.c \ tab_cross_corr.c \ + tab_dbtopow.c \ + tab_dbtorms.c \ tab_div.c \ tab_eq.c \ tab_eq_scalar.c \ @@ -47,9 +49,11 @@ SRC = tab_abs.c \ tab_mul_scalar.c \ tab_ne.c \ tab_ne_scalar.c \ + tab_powtodb.c \ tab_reverse.c \ tab_rfft.c \ tab_rifft.c \ + tab_rmstodb.c \ tab_sqrt.c \ tab_sub.c \ tab_sum.c \ diff --git a/src/makefile_darwin b/src/makefile_darwin index 8ab9beb..79dc341 100644 --- a/src/makefile_darwin +++ b/src/makefile_darwin @@ -29,6 +29,8 @@ SRC = tab_abs.c \ tab_copy.c \ tab_counter.c \ tab_cross_corr.c \ + tab_dbtopow.c \ + tab_dbtorms.c \ tab_div.c \ tab_eq.c \ tab_eq_scalar.c \ @@ -52,9 +54,11 @@ SRC = tab_abs.c \ tab_mul_scalar.c \ tab_ne.c \ tab_ne_scalar.c \ + tab_powtodb.c \ tab_reverse.c \ tab_rfft.c \ tab_rifft.c \ + tab_rmstodb.c \ tab_sqrt.c \ tab_sub.c \ tab_sum.c \ diff --git a/src/makefile_win b/src/makefile_win index 97fb9cd..9686ad1 100644 --- a/src/makefile_win +++ b/src/makefile_win @@ -31,6 +31,8 @@ SRC = tab_abs.c \ tab_copy.c \ tab_counter.c \ tab_cross_corr.c \ + tab_dbtopow.c \ + tab_dbtorms.c \ tab_div.c \ tab_eq.c \ tab_eq_scalar.c \ @@ -54,9 +56,11 @@ SRC = tab_abs.c \ tab_mul_scalar.c \ tab_ne.c \ tab_ne_scalar.c \ + tab_powtodb.c \ tab_reverse.c \ tab_rfft.c \ tab_rifft.c \ + tab_rmstodb.c \ tab_sqrt.c \ tab_sub.c \ tab_sum.c \ diff --git a/src/tab_carth2polar.c b/src/tab_carth2polar.c index 9dccd68..bc450ff 100644 --- a/src/tab_carth2polar.c +++ b/src/tab_carth2polar.c @@ -86,7 +86,7 @@ static void tab_carth2polar_bang(t_tab_carth2polar *x) if(n) { t_garray *a; - t_float rcp_two_pi=0.125f/atan(1.0); + t_float rcp_two_pi=0.125/atan(1.0); for(i=0; ix_obj.ob_outlet); a = (t_garray *)pd_findbyclass(x->x_sym_dst, garray_class); garray_redraw(a); @@ -156,5 +156,4 @@ void tab_const_setup(void) class_addfloat(tab_const_class, (t_method)tab_const_float); class_addlist(tab_const_class, (t_method)tab_const_list); class_addmethod(tab_const_class, (t_method)tab_const_dst, gensym("dst"), A_DEFSYMBOL, 0); -// class_sethelpsymbol(tab_const_class, gensym("iemhelp2/tab_const-help")); } diff --git a/src/tab_conv.c b/src/tab_conv.c index 8352faa..164b766 100644 --- a/src/tab_conv.c +++ b/src/tab_conv.c @@ -203,7 +203,7 @@ static void tab_conv_list(t_tab_conv *x, t_symbol *s, int argc, t_atom *argv) int i, j, k, l, m, n, p; int ok_src1, ok_src2, ok_dst; iemarray_t *vec_sig, *vec_ir, *vec_dst; - t_float sum=0.0f; + t_float sum=0.0; if((argc >= 5) && IS_A_FLOAT(argv,0) && @@ -257,7 +257,7 @@ static void tab_conv_list(t_tab_conv *x, t_symbol *s, int argc, t_atom *argv) l = m - 1; for(i=0; i=0; i--) { - sum = 0.0f; + sum = 0.0; for(j=0, k=i-1; j=0; i--) { - sum = 0.0f; + sum = 0.0; for(j=0, k=i-1; j