mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 19:27:27 +00:00
fix typo and wrong func call in rint()
SVN-Revision: 3707
This commit is contained in:
parent
b1a529a6cc
commit
524f7ae7b9
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user