OSDN Git Service

rename exp(onent) to _exp
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 19 Jan 2010 16:26:11 +0000 (17:26 +0100)
committerBernhard 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

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;