From: nico Date: Wed, 26 Apr 2006 05:50:16 +0000 (+0000) Subject: fix typo and wrong func call in rint() X-Git-Tag: fast2504n-3.10.28-merged~23028 X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=6b314baf52a7c2a48a7e546d2c73f8b0774df5d8;p=openwrt.git fix typo and wrong func call in rint() git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3707 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/openwrt/toolchain/libnotimpl/files/math.c b/openwrt/toolchain/libnotimpl/files/math.c index a16ea740ea..7333a36a25 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 ); }