1 /* Test long double on x86 and x86-64. */
4 /* { dg-options -O2 } */
6 extern void abort (void);
9 __signbitl0 (long double __x
)
11 union { long double __l
; int __i
[3]; } __u
= { __l
: __x
};
13 return (__u
.__i
[2] & 0x8000) != 0;
17 foo (long double x
, long double y
)
19 long double z
= x
/ y
;
20 if (__signbitl0 (x
) && __signbitl0 (z
))
26 if (sizeof (long double) > sizeof (double))