summaryrefslogtreecommitdiff
path: root/libm/s_ldexp.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-01-19 16:26:11 (GMT)
committerCarmelo Amoroso <carmelo.amoroso@st.com>2010-01-21 11:43:50 (GMT)
commite620a37064d35aea3e0273b39891069a5dec76b3 (patch)
tree9bfa707515b5c0237143a235111ec0cba2499f59 /libm/s_ldexp.c
parent42303a2fc71e095e4e2c4f9caa87e05bb266c334 (diff)
rename exp(onent) to _exp
to avoid shadow warnings Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> (cherry picked from commit 2b12ef1e789227cf9425ae8645e62ba7c3a7d3a9) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libm/s_ldexp.c')
-rw-r--r--libm/s_ldexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libm/s_ldexp.c b/libm/s_ldexp.c
index b2809af..bc0f08e 100644
--- 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;