fix typo and wrong func call in rint()

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3707 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Nicolas Thill 2006-04-26 05:50:16 +00:00
parent ca3c70dc31
commit 64ec711135

View File

@ -43,7 +43,7 @@
#ifdef __STDC__
float ceilf(float x)
#else
float rintf(x)
float ceilf(x)
float x;
#endif
{
@ -63,6 +63,6 @@
float x;
#endif
{
return (float) sin( (double)x );
return (float) rint( (double)x );
}