mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-29 12:44:05 +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:
parent
07cff93e26
commit
6b314baf52
@ -43,7 +43,7 @@
|
|||||||
#ifdef __STDC__
|
#ifdef __STDC__
|
||||||
float ceilf(float x)
|
float ceilf(float x)
|
||||||
#else
|
#else
|
||||||
float rintf(x)
|
float ceilf(x)
|
||||||
float x;
|
float x;
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
@ -63,6 +63,6 @@
|
|||||||
float x;
|
float x;
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
return (float) sin( (double)x );
|
return (float) rint( (double)x );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user