Add wrapper for other functions (used by sox)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@5381 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2006-11-02 22:08:32 +00:00
parent c38461ac18
commit 5130990471

View File

@ -66,3 +66,33 @@
return (float) rint( (double)x ); return (float) rint( (double)x );
} }
/* logf for uClibc
*
* wrapper for logf(x)
*/
#ifdef __STDC__
float logf(float x)
#else
float logf(x)
float x;
#endif
{
return (float) logf( (double)x );
}
/* expf for uClibc
*
* wrapper for expf(x)
*/
#ifdef __STDC__
float expf(float x)
#else
float expf(x)
float x;
#endif
{
return (float) expf( (double)x );
}