summaryrefslogtreecommitdiff
path: root/libm/s_ldexp.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-01-19 17:26:11 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-01-21 09:14:30 +0100
commit2b12ef1e789227cf9425ae8645e62ba7c3a7d3a9 (patch)
treebec01c9a11387eefaa994f7a71525934ae1c5769 /libm/s_ldexp.c
parent81264e8097b705f3b2a7e29be0a1a2ea853230cb (diff)
rename exp(onent) to _exp
to avoid shadow warnings Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.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 b2809afc8..bc0f08e99 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;