summaryrefslogtreecommitdiffstats
path: root/openwrt
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/toolchain/libnotimpl/files/math.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/toolchain/libnotimpl/files/math.c b/openwrt/toolchain/libnotimpl/files/math.c
index a16ea740e..7333a36a2 100644
--- a/openwrt/toolchain/libnotimpl/files/math.c
+++ b/openwrt/toolchain/libnotimpl/files/math.c
@@ -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 );
}