Print this page

        

@@ -77,14 +77,14 @@
         /* trig(Inf or NaN) is NaN */
         if (!finitel(x))
                 return x - x;
 
         /* High word of x. */
-#if defined(_BIG_ENDIAN)
-        ix = px[0];
-#else
+#if defined(__i386) || defined(__amd64)
         XTOI(px, ix);
+#else
+        ix = px[0];
 #endif
 
         /* |x| ~< pi/4 */
         ix &= 0x7fffffff;
         if (ix <= 0x3ffe9220)