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 | 64ec711135c77b6ddf556bb0fc993c2ca84087b7 (patch) | |
| tree | 3c1f5f211e8974467d7a6532ca57da9eabb200e7 | |
| parent | ca3c70dc315c0d13ecf10ce9a8346074297e3308 (diff) | |
| download | upstream-64ec711135c77b6ddf556bb0fc993c2ca84087b7.tar.gz upstream-64ec711135c77b6ddf556bb0fc993c2ca84087b7.tar.bz2 upstream-64ec711135c77b6ddf556bb0fc993c2ca84087b7.zip | |
fix typo and wrong func call in rint()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3707 3c298f89-4303-0410-b956-a3cf2f4a3e73
| -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 a16ea740ead..7333a36a250 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 ); } |
