1 --- _hdtoa.c.orig 2006-01-31 15:21:41.000000000 -0800
2 +++ _hdtoa.c 2006-01-31 23:37:12.000000000 -0800
7 +#ifdef LDBL_HEAD_TAIL_PAIR
10 +#endif /* LDBL_HEAD_TAIL_PAIR */
16 for (s = s0 + bufsize - 1; s > s0 + sigfigs - 1; s--)
18 +#ifdef LDBL_HEAD_TAIL_PAIR
19 + _ldbl2array32dd(u, bits);
22 + for (; s > s0; s--) {
30 +#else /* LDBL_HEAD_TAIL_PAIR */
31 for (; s > s0 + sigfigs - (LDBL_MANL_SIZE / 4) - 1 && s > s0; s--) {
32 *s = u.bits.manl & 0xf;
35 *s = u.bits.manh & 0xf;
38 +#endif /* LDBL_HEAD_TAIL_PAIR */
41 * At this point, we have snarfed all the bits in the
43 * (partial) nibble, which is dealt with by the next
44 * statement. We also tack on the implicit normalization bit.
46 +#ifdef LDBL_HEAD_TAIL_PAIR
48 +#else /* LDBL_HEAD_TAIL_PAIR */
49 *s = u.bits.manh | (1U << ((LDBL_MANT_DIG - 1) % 4));
50 +#endif /* LDBL_HEAD_TAIL_PAIR */
52 /* If ndigits < 0, we are expected to auto-size the precision. */