projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca3c70d
)
fix typo and wrong func call in rint()
author
Nicolas Thill
<nico@openwrt.org>
Wed, 26 Apr 2006 05:50:16 +0000
(
05:50
+0000)
committer
Nicolas Thill
<nico@openwrt.org>
Wed, 26 Apr 2006 05:50:16 +0000
(
05:50
+0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3707
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
openwrt/toolchain/libnotimpl/files/math.c
patch
|
blob
|
history
diff --git
a/openwrt/toolchain/libnotimpl/files/math.c
b/openwrt/toolchain/libnotimpl/files/math.c
index
a16ea74
..
7333a36
100644
(file)
--- 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
rint
f(x)
+ float
ceil
f(x)
float x;
#endif
{
@@
-63,6
+63,6
@@
float x;
#endif
{
- return (float)
sin
( (double)x );
+ return (float)
rint
( (double)x );
}