From: Nicolas Thill Date: Wed, 26 Apr 2006 05:50:16 +0000 (+0000) Subject: fix typo and wrong func call in rint() X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=21a47e6695e67612d1bc6e14bd6332f4af50a681;hp=cd04300e8a72e0ab6a69444d4e4c3542ff2fa6dc fix typo and wrong func call in rint() SVN-Revision: 3707 --- 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 ); }