[uClibc]math library ... e_asin.c gcc warning ...

m4 at brecis.COM m4 at brecis.COM
Wed May 8 13:17:01 MDT 2002


File libm/e_asin.c

e_asin.c: In function `__ieee754_asin':
e_asin.c:80: warning: `t' might be used uninitialized in this function

...
            } else
                t = x*x;
                p = t*(pS0+t*(pS1+t*(pS2+t*(pS3+t*(pS4+t*pS5)))));
                q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4)));
                w = p/q;
                return x+x*w;
        }
...

I do not know the algorithm, but the above indentation implies
a missing brace pair.  Everything else sets t correctly.




More information about the uClibc mailing list