3 #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
4 long double sinhl(long double x)
8 #elif LDBL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384
9 long double sinhl(long double x)
11 union ldshape u = {x};
12 unsigned ex = u.i.se & 0x7fff;
13 long double h, t, absx;
22 /* |x| < log(LDBL_MAX) */
23 if (ex < 0x3fff+13 || (ex == 0x3fff+13 && u.i.m>>32 < 0xb17217f7)) {
28 return h*(2*t - t*t/(1+t));
30 return h*(t + t/(t+1));
33 /* |x| > log(LDBL_MAX) or nan */
37 #elif LDBL_MANT_DIG == 113 && LDBL_MAX_EXP == 16384
38 // TODO: broken implementation to make things compile
39 long double sinhl(long double x)