Update of /cvsroot/pure-data/externals/iem/iemmatrix/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17894
Modified Files: mtx_abs.c Log Message: better use fabs() than abs() when dealing with floats...
Index: mtx_abs.c =================================================================== RCS file: /cvsroot/pure-data/externals/iem/iemmatrix/src/mtx_abs.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mtx_abs.c 19 Sep 2005 12:51:27 -0000 1.1 --- mtx_abs.c 19 Sep 2005 13:21:40 -0000 1.2 *************** *** 33,38 ****
while(n--){ ! t_float f = (t_float)abs(atom_getfloat(argv++)); ! SETFLOAT(m, f); m++; } --- 33,38 ----
while(n--){ ! t_float f = atom_getfloat(argv++); ! SETFLOAT(m, (t_float)fabs(f)); m++; }