summaryrefslogtreecommitdiff
path: root/openwrt/toolchain
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2006-04-26 05:50:16 +0000
committerNicolas Thill <nico@openwrt.org>2006-04-26 05:50:16 +0000
commit524f7ae7b93d09fe46b05d444d169cca0f278042 (patch)
treea98321f0c62fe6550c180dedcd561203f269cfe6 /openwrt/toolchain
parentb1a529a6cc5f9c3d4c8fbea8a0a34d6e2291d55b (diff)
downloadmtk-20170518-524f7ae7b93d09fe46b05d444d169cca0f278042.zip
mtk-20170518-524f7ae7b93d09fe46b05d444d169cca0f278042.tar.gz
mtk-20170518-524f7ae7b93d09fe46b05d444d169cca0f278042.tar.bz2
fix typo and wrong func call in rint()
SVN-Revision: 3707
Diffstat (limited to 'openwrt/toolchain')
-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 a16ea74..7333a36 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 );
}