1
0
Fork 0
forked from len0rd/rockbox

Fix warnings in simulator builds including libspeex

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12248 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dan Everton 2007-02-09 23:08:12 +00:00
parent 05985069e6
commit 97623c5e97

View file

@ -417,14 +417,14 @@ float spx_exp(float xf){
return exp_table[(int)((xf+4.0)*4.0)]; return exp_table[(int)((xf+4.0)*4.0)];
} else if (-4<xf&&4>xf){ } else if (-4<xf&&4>xf){
#ifdef SIMULATOR #ifdef SIMULATOR
printf("NtbLexp:%f,%f,%f:%d,%d:%d\n",xf,flt,xf-flt,-4<xf,4>xf,abs(xf-flt)); /* printf("NtbLexp:%f,%f,%f:%d,%d:%d\n",xf,flt,xf-flt,-4<xf,4>xf,abs(xf-flt)); */
#endif #endif
return exp_table[(int)((xf+4.0)*4.0)]; return exp_table[(int)((xf+4.0)*4.0)];
} }
#ifdef SIMULATOR #ifdef SIMULATOR
printf("NTBLexp:%f,%f,%f:%d,%d:%d\n",xf,flt,xf-flt,-4<xf,4>xf,abs(xf-flt)); /* printf("NTBLexp:%f,%f,%f:%d,%d:%d\n",xf,flt,xf-flt,-4<xf,4>xf,abs(xf-flt)); */
#endif #endif
return spx_expB(xf); return spx_expB(xf);
//return exp(xf); //return exp(xf);