OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81264e8
)
rename exp(onent) to _exp
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Tue, 19 Jan 2010 16:26:11 +0000
(17:26 +0100)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Thu, 21 Jan 2010 08:14:30 +0000
(09:14 +0100)
to avoid shadow warnings
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libm/s_ldexp.c
patch
|
blob
|
history
diff --git
a/libm/s_ldexp.c
b/libm/s_ldexp.c
index
b2809af
..
bc0f08e
100644
(file)
--- a/
libm/s_ldexp.c
+++ b/
libm/s_ldexp.c
@@
-27,11
+27,11
@@
* does not (it does not set ERRNO).
*/
-double ldexp(double value, int exp)
+double ldexp(double value, int
_
exp)
{
if (!isfinite(value) || value == 0.0)
return value;
- value = scalbn(value, exp);
+ value = scalbn(value,
_
exp);
if (!isfinite(value) || value == 0.0)
errno = ERANGE;
return value;