Print this page
*** 69,93 ****
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)
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
XTOI(px, ix);
#endif
/* |x| ~< pi/4 */
ix &= 0x7fffffff;
if (ix <= 0x3ffe9220)
--- 69,93 ----
void
sincosl(long double x, long double *s, long double *c) {
long double y[2], z = 0.0L;
int n, ix;
! #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(__i386) || defined(__amd64)
XTOI(px, ix);
+ #else
+ ix = *(int *) &x;
#endif
/* |x| ~< pi/4 */
ix &= 0x7fffffff;
if (ix <= 0x3ffe9220)