30 const unsigned N =
sizeof(
tu_int) * CHAR_BIT;
33 if (sd > DBL_MANT_DIG)
45 case DBL_MANT_DIG + 1:
48 case DBL_MANT_DIG + 2:
51 a = (
a >> (sd - (DBL_MANT_DIG+2))) |
52 ((
a & ((
tu_int)(-1) >> ((
N + DBL_MANT_DIG+2) - sd))) != 0);
59 if (
a & ((
tu_int)1 << DBL_MANT_DIG))
68 a <<= (DBL_MANT_DIG - sd);
72 fb.
u.
s.high = ((e + 1023) << 20) |