1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-10 11:48:27 +02:00

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:
nico 2006-04-26 05:50:16 +00:00
parent 07cff93e26
commit 6b314baf52

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 );
}