Print this page

        

@@ -74,21 +74,22 @@
 tanf(float x)
 {
         double  y, z, w;
         float   f;
         int     n, ix, hx, hy;
+        volatile int i;
 
         hx = *((int *)&x);
         ix = hx & 0x7fffffff;
 
         y = (double)x;
 
         if (ix <= 0x4016cbe4) {         /* |x| < 3*pi/4 */
                 if (ix <= 0x3f490fdb) {         /* |x| < pi/4 */
                         if (ix < 0x3c000000) {          /* |x| < 2**-7 */
                                 if (ix <= 0x39800000) { /* |x| < 2**-12 */
-                                        volatile int    i = (int)y;
+                                        i = (int)y;
 #ifdef lint
                                         i = i;
 #endif
                                         return (x);
                                 }