Lines Matching refs:k
136 int32_t k,xsb; in expm1() local
165 {hi = x - ln2_hi; lo = ln2_lo; k = 1;} in expm1()
167 {hi = x + ln2_hi; lo = -ln2_lo; k = -1;} in expm1()
169 k = invln2*x+((xsb==0)?0.5:-0.5); in expm1()
170 t = k; in expm1()
181 else k = 0; in expm1()
189 if(k==0) return x - (x*e-hxs); /* c is 0 */ in expm1()
191 INSERT_WORDS(twopk,0x3ff00000+(k<<20),0); /* 2^k */ in expm1()
194 if(k== -1) return 0.5*(x-e)-0.5; in expm1()
195 if(k==1) { in expm1()
199 if (k <= -2 || k>56) { /* suffice to return exp(x)-1 */ in expm1()
201 if (k == 1024) y = y*2.0*0x1p1023; in expm1()
206 if(k<20) { in expm1()
207 SET_HIGH_WORD(t,0x3ff00000 - (0x200000>>k)); /* t=1-2^-k */ in expm1()
211 SET_HIGH_WORD(t,((0x3ff-k)<<20)); /* 2^-k */ in expm1()