Lines Matching refs:hx
45 int32_t i,k,hx; in log2() local
48 EXTRACT_WORDS(hx,lx,x); in log2()
51 if (hx < 0x00100000) { /* x < 2**-1022 */ in log2()
52 if (((hx&0x7fffffff)|lx)==0) in log2()
54 if (hx<0) return (x-x)/zero; /* log(-#) = NaN */ in log2()
56 GET_HIGH_WORD(hx,x); in log2()
58 if (hx >= 0x7ff00000) return x+x; in log2()
59 if (hx == 0x3ff00000 && lx == 0) in log2()
61 k += (hx>>20)-1023; in log2()
62 hx &= 0x000fffff; in log2()
63 i = (hx+0x95f64)&0x100000; in log2()
64 SET_HIGH_WORD(x,hx|(i^0x3ff00000)); /* normalize x or x/2 */ in log2()