mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03: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:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user