OSDN Git Service

Add guard
[uclinux-h8/uClibc.git] / libm / s_ldexp.c
index b2809af..bc0f08e 100644 (file)
  * 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;