diff options
author | Nicolas Thill <nico@openwrt.org> | 2006-04-26 05:50:16 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2006-04-26 05:50:16 +0000 |
commit | 524f7ae7b93d09fe46b05d444d169cca0f278042 (patch) | |
tree | a98321f0c62fe6550c180dedcd561203f269cfe6 /openwrt/toolchain | |
parent | b1a529a6cc5f9c3d4c8fbea8a0a34d6e2291d55b (diff) | |
download | mtk-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.c | 4 |
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 ); } |