fix typo and wrong func call in rint()

SVN-Revision: 3707
lede-17.01
Nicolas Thill 2006-04-26 05:50:16 +00:00
parent b1a529a6cc
commit 524f7ae7b9
1 changed files with 2 additions and 2 deletions

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