Lines Matching full:bits
50 /* Return the last n bits of a word, representing the fractional part. */
51 #define GETFRAC(bits, n) ((bits) & ~(MASK << (n)))
52 /* The number of fraction bits in manh, not counting the integer bit */
64 e = ux.bits.exp - LDBL_MAX_EXP + 1;
67 *iptr = zero[ux.bits.sign];
70 if ((GETFRAC(ux.bits.manh, HIBITS - 1 - e) |
71 ux.bits.manl) == 0) { /* X is an integer. */
73 return (zero[ux.bits.sign]);
75 /* Clear all but the top e+1 bits. */
76 ux.bits.manh >>= HIBITS - 1 - e;
77 ux.bits.manh <<= HIBITS - 1 - e;
78 ux.bits.manl = 0;
87 return (zero[ux.bits.sign]);
89 if (GETFRAC(ux.bits.manl, LDBL_MANT_DIG - 1 - e) == 0) {
92 return (zero[ux.bits.sign]);
94 /* Clear all but the top e+1 bits. */
95 ux.bits.manl >>= LDBL_MANT_DIG - 1 - e;
96 ux.bits.manl <<= LDBL_MANT_DIG - 1 - e;