Lines Matching refs:k
45 int32_t k,xsb; in expm1f() local
71 {hi = x - ln2_hi; lo = ln2_lo; k = 1;} in expm1f()
73 {hi = x + ln2_hi; lo = -ln2_lo; k = -1;} in expm1f()
75 k = invln2*x+((xsb==0)?(float)0.5:(float)-0.5); in expm1f()
76 t = k; in expm1f()
87 else k = 0; in expm1f()
95 if(k==0) return x - (x*e-hxs); /* c is 0 */ in expm1f()
97 SET_FLOAT_WORD(twopk,0x3f800000+(k<<23)); /* 2^k */ in expm1f()
100 if(k== -1) return (float)0.5*(x-e)-(float)0.5; in expm1f()
101 if(k==1) { in expm1f()
105 if (k <= -2 || k>56) { /* suffice to return exp(x)-1 */ in expm1f()
107 if (k == 128) y = y*2.0F*0x1p127F; in expm1f()
112 if(k<23) { in expm1f()
113 SET_FLOAT_WORD(t,0x3f800000 - (0x1000000>>k)); /* t=1-2^-k */ in expm1f()
117 SET_FLOAT_WORD(t,((0x7f-k)<<23)); /* 2^-k */ in expm1f()