Lines Matching +full:0 +full:xe

65 			xm += 0x3 + ((xm >> 3) & 1);  in ieee754sp_get_rounding()
66 /* xm += (xm&0x8)?0x4:0x3 */ in ieee754sp_get_rounding()
70 xm += 0x8; in ieee754sp_get_rounding()
74 xm += 0x8; in ieee754sp_get_rounding()
84 * xe is an unbiased exponent
87 union ieee754sp ieee754sp_format(int sn, int xe, unsigned int xm) in ieee754sp_format() argument
91 assert((xm >> (SP_FBITS + 1 + 3)) == 0); /* no excess */ in ieee754sp_format()
94 if (xe < SP_EMIN) { in ieee754sp_format()
96 int es = SP_EMIN - xe; in ieee754sp_format()
107 if (sn == 0) in ieee754sp_format()
108 return ieee754sp_min(0); in ieee754sp_format()
112 if (sn == 0) in ieee754sp_format()
113 return ieee754sp_zero(0); in ieee754sp_format()
119 if (xe == SP_EMIN - 1 && in ieee754sp_format()
128 xe++; in ieee754sp_format()
133 xe += es; in ieee754sp_format()
134 assert((xm & (SP_HIDDEN_BIT << 3)) == 0); in ieee754sp_format()
135 assert(xe == SP_EMIN); in ieee754sp_format()
140 if ((xm & (SP_HIDDEN_BIT << 3)) == 0) { in ieee754sp_format()
152 xe++; in ieee754sp_format()
158 assert((xm >> (SP_FBITS + 1)) == 0); /* no excess */ in ieee754sp_format()
159 assert(xe >= SP_EMIN); in ieee754sp_format()
161 if (xe > SP_EMAX) { in ieee754sp_format()
171 if (sn == 0) in ieee754sp_format()
172 return ieee754sp_inf(0); in ieee754sp_format()
176 if (sn == 0) in ieee754sp_format()
177 return ieee754sp_max(0); in ieee754sp_format()
184 if ((xm & SP_HIDDEN_BIT) == 0) { in ieee754sp_format()
186 assert(xe == SP_EMIN); in ieee754sp_format()
191 assert((xm >> (SP_FBITS + 1)) == 0); /* no excess */ in ieee754sp_format()
194 return buildsp(sn, xe + SP_EBIAS, xm & ~SP_HIDDEN_BIT); in ieee754sp_format()