summaryrefslogtreecommitdiffstats
path: root/openwrt/toolchain
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-26 05:50:16 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-26 05:50:16 +0000
commit6b314baf52a7c2a48a7e546d2c73f8b0774df5d8 (patch)
tree3c1f5f211e8974467d7a6532ca57da9eabb200e7 /openwrt/toolchain
parent07cff93e26472f9a072a0732a2c81cfb87d47c99 (diff)
fix typo and wrong func call in rint()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3707 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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 );
}