4 #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
5 void sincosl(long double x, long double *sin, long double *cos)
7 sincos(x, (double *)sin, (double *)cos);
9 #elif (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384
10 void sincosl(long double x, long double *sin, long double *cos)
14 long double y[2], s, c;
20 if (u.bits.exp == 0x7fff) {
25 /* |x| < (double)pi/4 */
28 if (u.bits.exp < 0x3fff - 64) {
29 /* raise underflow if subnormal */
30 if (u.bits.exp == 0) FORCE_EVAL(x*0x1p-120f);
32 /* raise inexact if x!=0 */
36 *sin = __sinl(x, 0, 0);
41 n = __rem_pio2l(x, y);
42 s = __sinl(y[0], y[1], 1);
43 c = __cosl(y[0], y[1]);