Lines Matching refs:hx
41 int n, hx, hy, hz, ix, iy, sx, i;
44 hx = __HI (x); /* high word of x */
48 sx = hx & 0x80000000; /* sign of x */
49 hx ^= sx; /* |x| */
53 if ((hy | ly) == 0 || (hx >= 0x7ff00000) || /* y = 0, or x not finite */
58 if (hx <= hy)
60 if ((hx < hy) || (lx < ly)) /* |x| < |y| return x */
71 if (hx < 0x00100000) /* subnormal x */
73 if (hx == 0)
82 for (ix = -1022, i = (hx << 11); i > 0; i <<= 1)
90 ix = (hx >> 20) - 1023;
116 /* set up {hx,lx}, {hy,ly} and align y to x */
119 hx = 0x00100000 | (0x000fffff & hx);
126 hx = (((unsigned int) hx) << n) | (lx >> (32 - n));
131 hx = lx << (n - 32);
158 hz = hx - hy;
166 hx = hx + hx + (lx >> 31);
175 hx = hz + hz + (lz >> 31);
179 hz = hx - hy;
187 hx = hz;
192 if ((hx | lx) == 0) /* return sign(x) * 0 */
196 while (hx < 0x00100000) /* normalize x */
198 hx = hx + hx + (lx >> 31);
206 hx = ((hx - 0x00100000) | ((iy + 1023) << 20));
207 ret.as_int.hi = hx | sx;
215 lx = (lx >> n) | ((unsigned) hx << (32 - n));
216 hx >>= n;
220 lx = (hx << (32 - n)) | (lx >> n);
221 hx = sx;
225 lx = hx >> (n - 32);
226 hx = sx;
228 ret.as_int.hi = hx | sx;