mirror of https://github.com/hak5/openwrt.git
parent
b1a529a6cc
commit
524f7ae7b9
|
@ -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