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:
parent
05985069e6
commit
97623c5e97
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue