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