fix typo and wrong func call in rint()

SVN-Revision: 3707
This commit is contained in:
Nicolas Thill 2006-04-26 05:50:16 +00:00
parent b1a529a6cc
commit 524f7ae7b9

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