Print this page

        

@@ -69,25 +69,25 @@
 
 void
 sincosl(long double x, long double *s, long double *c) {
         long double y[2], z = 0.0L;
         int n, ix;
-#if defined(_LITTLE_ENDIAN)
+#if defined(__i386) || defined(__amd64)
         int *px = (int *) &x;
 #endif
 
         /* trig(Inf or NaN) is NaN */
         if (!finitel(x)) {
                 *s = *c = x - x;
                 return;
         }
 
         /* High word of x. */
-#if defined(_BIG_ENDIAN)
-        ix = *(int *) &x;
-#else
+#if defined(__i386) || defined(__amd64)
         XTOI(px, ix);
+#else
+        ix = *(int *) &x;
 #endif
 
         /* |x| ~< pi/4 */
         ix &= 0x7fffffff;
         if (ix <= 0x3ffe9220)