projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix typo and wrong func call in rint()
[openwrt/svn-archive/archive.git]
/
openwrt
/
toolchain
/
libnotimpl
/
files
/
math.c
diff --git
a/openwrt/toolchain/libnotimpl/files/math.c
b/openwrt/toolchain/libnotimpl/files/math.c
index a16ea740ead2378a09419e9744a0deaab29118ac..7333a36a250aa2c12107432dd77e2294a1cd893b 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 );
}